aboutsummaryrefslogtreecommitdiff
path: root/examples/ParallelJIT
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-08 05:49:09 +0000
committerChris Lattner <sabre@nondot.org>2008-04-08 05:49:09 +0000
commit709877243661b2b450402d4911de892af5c74f43 (patch)
tree2e1e2c8340898357a0d9c9d3029bf79b47f7e05e /examples/ParallelJIT
parent34437f35e9ecc5891b3f8b50c52adc305dd19228 (diff)
silence warning when assertions are disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/ParallelJIT')
-rw-r--r--examples/ParallelJIT/ParallelJIT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ParallelJIT/ParallelJIT.cpp b/examples/ParallelJIT/ParallelJIT.cpp
index 300c432863..634bffa126 100644
--- a/examples/ParallelJIT/ParallelJIT.cpp
+++ b/examples/ParallelJIT/ParallelJIT.cpp
@@ -204,7 +204,7 @@ private:
waitFor = 0;
int result = pthread_cond_broadcast( &condition );
- assert( result == 0 );
+ assert(result == 0); result=result;
}
size_t n;