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:
1c1f112
)
silence annoying warning in release-asserts build
author
Chris Lattner
<sabre@nondot.org>
Fri, 2 Feb 2007 21:19:18 +0000
(21:19 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 2 Feb 2007 21:19:18 +0000
(21:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33797
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/DenseMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/DenseMap.h
b/include/llvm/ADT/DenseMap.h
index cd76ddca24e7cfaa85b76b0a4b2c96c73576fcc7..fa3e2df8947a344162c5b2f344ed34c192496069 100644
(file)
--- a/
include/llvm/ADT/DenseMap.h
+++ b/
include/llvm/ADT/DenseMap.h
@@
-233,6
+233,7
@@
private:
// Insert the key/value into the new table.
BucketT *DestBucket;
bool FoundVal = LookupBucketFor(B->first, DestBucket);
+ FoundVal = FoundVal; // silence warning.
assert(!FoundVal && "Key already in new map?");
DestBucket->first = B->first;
new (&DestBucket->second) ValueT(B->second);