diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-07-19 15:06:31 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-07-19 15:06:31 +0000 |
commit | 56819a89bd36741cb1700763dd07b3d18aa601b3 (patch) | |
tree | b5474ab367410abfa84103e336d12b498d1067ac /examples | |
parent | db3d5211c6552d2863a4936ac79b0495543f0f92 (diff) |
Defeat another -Wunused-but-set-variable warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ParallelJIT/ParallelJIT.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |