aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-21 19:47:44 +0000
committerChris Lattner <sabre@nondot.org>2008-06-21 19:47:44 +0000
commitf1444117689b8b0ee1e1547c5f46fbfd889e70f3 (patch)
treeb0622530a87078d06b7aefd11cad3116fc1fc06d /lib/Bitcode
parent60ebb192ec96d6f486272b3036fa7bb38bf61637 (diff)
downloadexternal_llvm-f1444117689b8b0ee1e1547c5f46fbfd889e70f3.zip
external_llvm-f1444117689b8b0ee1e1547c5f46fbfd889e70f3.tar.gz
external_llvm-f1444117689b8b0ee1e1547c5f46fbfd889e70f3.tar.bz2
fix warning when assertion disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52588 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r--lib/Bitcode/Reader/Deserialize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Reader/Deserialize.cpp b/lib/Bitcode/Reader/Deserialize.cpp
index 113321f..2014557 100644
--- a/lib/Bitcode/Reader/Deserialize.cpp
+++ b/lib/Bitcode/Reader/Deserialize.cpp
@@ -85,7 +85,7 @@ bool Deserializer::AdvanceStream() {
case bitc::END_BLOCK: {
bool x = Stream.ReadBlockEnd();
- assert (!x && "Error at block end.");
+ assert(!x && "Error at block end."); x=x;
BlockStack.pop_back();
continue;
}