summaryrefslogtreecommitdiffstats
path: root/llvm/examples
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2017-07-19 15:06:31 +0000
committerHans Wennborg <hans@hanshq.net>2017-07-19 15:06:31 +0000
commite7a411df9e659d8f15880d821b18570e549df123 (patch)
tree902279877ad8a0a37e60f8961c2a5ebe7fa8d59d /llvm/examples
parent8276556b624cbff4d1e39e661dbc6a0e004d02a5 (diff)
downloadbcm5719-llvm-e7a411df9e659d8f15880d821b18570e549df123.tar.gz
bcm5719-llvm-e7a411df9e659d8f15880d821b18570e549df123.zip
Defeat another -Wunused-but-set-variable warning
llvm-svn: 308484
Diffstat (limited to 'llvm/examples')
-rw-r--r--llvm/examples/ParallelJIT/ParallelJIT.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/examples/ParallelJIT/ParallelJIT.cpp b/llvm/examples/ParallelJIT/ParallelJIT.cpp
index f1932d2471c..ff44375e392 100644
--- a/llvm/examples/ParallelJIT/ParallelJIT.cpp
+++ b/llvm/examples/ParallelJIT/ParallelJIT.cpp
@@ -145,6 +145,7 @@ public:
waitFor = 0;
int result = pthread_cond_init( &condition, nullptr );
+ (void)result;
assert( result == 0 );
result = pthread_mutex_init( &mutex, nullptr );
OpenPOWER on IntegriCloud