mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
Switch to a more idiomatic way of silencing unused variable warnings in
release builds. Silences clang's -Wself-assign. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150942 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cceb8f44a0
commit
637f949a7f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user