]> granicus.if.org Git - llvm/commitdiff
Merging r308484:
authorHans Wennborg <hans@hanshq.net>
Wed, 19 Jul 2017 15:45:56 +0000 (15:45 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 19 Jul 2017 15:45:56 +0000 (15:45 +0000)
------------------------------------------------------------------------
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

examples/ParallelJIT/ParallelJIT.cpp

index f1932d2471cb88dcf190c290d0df9a94732d4ba0..ff44375e3921e27a21bc39bde34d20a73c4a1247 100644 (file)
@@ -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 );