forked from OSchip/llvm-project
Defeat another -Wunused-but-set-variable warning
llvm-svn: 308484
This commit is contained in:
parent
8276556b62
commit
e7a411df9e
|
@ -145,6 +145,7 @@ public:
|
||||||
waitFor = 0;
|
waitFor = 0;
|
||||||
|
|
||||||
int result = pthread_cond_init( &condition, nullptr );
|
int result = pthread_cond_init( &condition, nullptr );
|
||||||
|
(void)result;
|
||||||
assert( result == 0 );
|
assert( result == 0 );
|
||||||
|
|
||||||
result = pthread_mutex_init( &mutex, nullptr );
|
result = pthread_mutex_init( &mutex, nullptr );
|
||||||
|
|
Loading…
Reference in New Issue