diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-12-19 20:57:14 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-12-19 20:57:14 +0000 |
commit | 9d38acb254108db0ee9e746bb3f7aa64168f7e36 (patch) | |
tree | b7afc38020f63f975eab598f2bb3c31e31a36c39 /include/llvm/ADT/DenseMap.h | |
parent | 476b242fe7a61e5f9ac6214b0bc5c680d24f152e (diff) | |
download | external_llvm-9d38acb254108db0ee9e746bb3f7aa64168f7e36.zip external_llvm-9d38acb254108db0ee9e746bb3f7aa64168f7e36.tar.gz external_llvm-9d38acb254108db0ee9e746bb3f7aa64168f7e36.tar.bz2 |
Use the new way of silencing this warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122195 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/DenseMap.h')
-rw-r--r-- | include/llvm/ADT/DenseMap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index f9f37b8..61d6ae7 100644 --- a/include/llvm/ADT/DenseMap.h +++ b/include/llvm/ADT/DenseMap.h @@ -386,7 +386,7 @@ private: // Insert the key/value into the new table. BucketT *DestBucket; bool FoundVal = LookupBucketFor(B->first, DestBucket); - FoundVal = FoundVal; // silence warning. + (void)FoundVal; // silence warning. assert(!FoundVal && "Key already in new map?"); DestBucket->first = B->first; new (&DestBucket->second) ValueT(B->second); |