projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cceb8f4
)
Switch to a more idiomatic way of silencing unused variable warnings in
author
Chandler Carruth
<chandlerc@gmail.com>
Mon, 20 Feb 2012 00:02:49 +0000
(
00:02
+0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Mon, 20 Feb 2012 00:02:49 +0000
(
00:02
+0000)
release builds. Silences clang's -Wself-assign.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150942
91177308
-0d34-0410-b5e6-
96231b3b80d8
examples/ParallelJIT/ParallelJIT.cpp
patch
|
blob
|
history
diff --git
a/examples/ParallelJIT/ParallelJIT.cpp
b/examples/ParallelJIT/ParallelJIT.cpp
index 3e483275edbb1e986e20df05e9fbd529f36772f5..305cf1dde06f8fad42ea91da1b0ef3f55ff30dfc 100644
(file)
--- a/
examples/ParallelJIT/ParallelJIT.cpp
+++ b/
examples/ParallelJIT/ParallelJIT.cpp
@@
-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;