aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ParallelJIT/ParallelJIT.cpp
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
commitbc610fcd224a41520f840c5d55d592a6c55c2633 (patch)
tree2e1e2c8340898357a0d9c9d3029bf79b47f7e05e /examples/ParallelJIT/ParallelJIT.cpp
parent97b746a24d298dc5b5c87f863a48ec4fade0acb4 (diff)
downloadexternal_llvm-bc610fcd224a41520f840c5d55d592a6c55c2633.zip
external_llvm-bc610fcd224a41520f840c5d55d592a6c55c2633.tar.gz
external_llvm-bc610fcd224a41520f840c5d55d592a6c55c2633.tar.bz2
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/ParallelJIT.cpp')
-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 300c432..634bffa 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;