[llvm-commits] CVS: llvm/include/llvm/ADT/DenseMap.h
Chris Lattner
sabre at nondot.org
Fri Feb 2 13:19:34 PST 2007
Changes in directory llvm/include/llvm/ADT:
DenseMap.h updated: 1.13 -> 1.14
---
Log message:
silence annoying warning in release-asserts build
---
Diffs of the changes: (+1 -0)
DenseMap.h | 1 +
1 files changed, 1 insertion(+)
Index: llvm/include/llvm/ADT/DenseMap.h
diff -u llvm/include/llvm/ADT/DenseMap.h:1.13 llvm/include/llvm/ADT/DenseMap.h:1.14
--- llvm/include/llvm/ADT/DenseMap.h:1.13 Fri Feb 2 14:34:32 2007
+++ llvm/include/llvm/ADT/DenseMap.h Fri Feb 2 15:19:18 2007
@@ -233,6 +233,7 @@
// 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);
More information about the llvm-commits
mailing list