Switch to a more idiomatic way of silencing unused variable warnings in

release builds. Silences clang's -Wself-assign.

llvm-svn: 150942
This commit is contained in:
Chandler Carruth 2012-02-20 00:02:49 +00:00
parent 0d887dd0b9
commit 3bb7d41a35
1 changed files with 2 additions and 1 deletions

View File

@ -209,7 +209,8 @@ private:
waitFor = 0;
int result = pthread_cond_broadcast( &condition );
assert(result == 0); result=result;
(void)result;
assert(result == 0);
}
size_t n;