Test commit: Fix two -Asserts mode warnings in StringMap.h.
authorFrits van Bommel <fvbommel@gmail.com>
Sat, 20 Nov 2010 18:37:24 +0000 (18:37 +0000)
committerFrits van Bommel <fvbommel@gmail.com>
Sat, 20 Nov 2010 18:37:24 +0000 (18:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119907 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/StringMap.h

index d047a420790ba805960d3c85603169ef6d4e58d6..752f55c226458d8bede7980ca52df411962c30cb 100644 (file)
@@ -265,10 +265,12 @@ public:
     : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {
     assert(RHS.empty() &&
            "Copy ctor from non-empty stringmap not implemented yet!");
+    (void)RHS;
   }
   void operator=(const StringMap &RHS) {
     assert(RHS.empty() &&
            "assignment from non-empty stringmap not implemented yet!");
+    (void)RHS;
     clear();
   }