From 56819a89bd36741cb1700763dd07b3d18aa601b3 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Wed, 19 Jul 2017 15:06:31 +0000 Subject: Defeat another -Wunused-but-set-variable warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308484 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/ParallelJIT/ParallelJIT.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') 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 ); -- cgit v1.2.3