[llvm-commits] [llvm] r49371 - /llvm/trunk/examples/ParallelJIT/ParallelJIT.cpp

Chris Lattner sabre at nondot.org
Mon Apr 7 22:49:09 PDT 2008


Author: lattner
Date: Tue Apr  8 00:49:09 2008
New Revision: 49371

URL: http://llvm.org/viewvc/llvm-project?rev=49371&view=rev
Log:
silence warning when assertions are disabled.

Modified:
    llvm/trunk/examples/ParallelJIT/ParallelJIT.cpp

Modified: llvm/trunk/examples/ParallelJIT/ParallelJIT.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/ParallelJIT/ParallelJIT.cpp?rev=49371&r1=49370&r2=49371&view=diff

==============================================================================
--- llvm/trunk/examples/ParallelJIT/ParallelJIT.cpp (original)
+++ llvm/trunk/examples/ParallelJIT/ParallelJIT.cpp Tue Apr  8 00:49:09 2008
@@ -204,7 +204,7 @@
     waitFor = 0;
 
     int result = pthread_cond_broadcast( &condition );
-    assert( result == 0 );
+    assert(result == 0); result=result;
   }
 
   size_t n;





More information about the llvm-commits mailing list