silence warning when assertions are disabled.
authorChris Lattner <sabre@nondot.org>
Tue, 8 Apr 2008 05:49:09 +0000 (05:49 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Apr 2008 05:49:09 +0000 (05:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49371 91177308-0d34-0410-b5e6-96231b3b80d8

examples/ParallelJIT/ParallelJIT.cpp

index 300c4328639212c44067a97140dcc77b6b85d148..634bffa1261c2662a9760d47c133a4a7d1abbe40 100644 (file)
@@ -204,7 +204,7 @@ private:
     waitFor = 0;
 
     int result = pthread_cond_broadcast( &condition );
-    assert( result == 0 );
+    assert(result == 0); result=result;
   }
 
   size_t n;