summaryrefslogtreecommitdiff
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
commit48a0eec1da22cd4b1227dcd9ff6a1c087c1d5a56 (patch)
treeb0622530a87078d06b7aefd11cad3116fc1fc06d /lib/Bitcode
parenta1aabe422f139daebf9cada3d45a611687465ac5 (diff)
downloadllvm-48a0eec1da22cd4b1227dcd9ff6a1c087c1d5a56.tar.gz
llvm-48a0eec1da22cd4b1227dcd9ff6a1c087c1d5a56.tar.bz2
llvm-48a0eec1da22cd4b1227dcd9ff6a1c087c1d5a56.tar.xz
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 113321fa26..2014557a10 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;
}