summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/examples/ParallelJIT/ParallelJIT.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/examples/ParallelJIT/ParallelJIT.cpp b/llvm/examples/ParallelJIT/ParallelJIT.cpp
index 3e483275edb..305cf1dde06 100644
--- a/llvm/examples/ParallelJIT/ParallelJIT.cpp
+++ b/llvm/examples/ParallelJIT/ParallelJIT.cpp
@@ -209,7 +209,8 @@ private:
waitFor = 0;
int result = pthread_cond_broadcast( &condition );
- assert(result == 0); result=result;
+ (void)result;
+ assert(result == 0);
}
size_t n;
OpenPOWER on IntegriCloud