From: Hans Wennborg Date: Wed, 19 Jul 2017 15:45:56 +0000 (+0000) Subject: Merging r308484: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8f2eb9a3b1752c983454690317eb4012dd424b6;p=llvm Merging r308484: ------------------------------------------------------------------------ r308484 | hans | 2017-07-19 08:06:31 -0700 (Wed, 19 Jul 2017) | 1 line Defeat another -Wunused-but-set-variable warning ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@308488 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/examples/ParallelJIT/ParallelJIT.cpp b/examples/ParallelJIT/ParallelJIT.cpp index f1932d2471c..ff44375e392 100644 --- a/examples/ParallelJIT/ParallelJIT.cpp +++ b/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 );