summaryrefslogtreecommitdiff
path: root/lib/VMCore/TypesContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore/TypesContext.h')
-rw-r--r--lib/VMCore/TypesContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/TypesContext.h b/lib/VMCore/TypesContext.h
index 5a90917977b..4694486c41b 100644
--- a/lib/VMCore/TypesContext.h
+++ b/lib/VMCore/TypesContext.h
@@ -317,7 +317,7 @@ public:
// The old record is now out-of-date, because one of the children has been
// updated. Remove the obsolete entry from the map.
unsigned NumErased = Map.erase(ValType::get(Ty));
- assert(NumErased && "Element not found!"); NumErased = NumErased;
+ assert(NumErased && "Element not found!"); (void)NumErased;
// Remember the structural hash for the type before we start hacking on it,
// in case we need it later.