summaryrefslogtreecommitdiffstats
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
commit18a3284a0ab60e70f7b6629504a293f62eee9d03 (patch)
tree9fa9a3ff7143d3a9dcd72f39d0f49de6737d6b54
parent106b046d836b2575662b64f5a117d1c558dd78cb (diff)
downloadbcm5719-llvm-18a3284a0ab60e70f7b6629504a293f62eee9d03.tar.gz
bcm5719-llvm-18a3284a0ab60e70f7b6629504a293f62eee9d03.zip
fix warning when assertion disabled.
llvm-svn: 52588
-rw-r--r--llvm/lib/Bitcode/Reader/Deserialize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/Deserialize.cpp b/llvm/lib/Bitcode/Reader/Deserialize.cpp
index 113321fa26f..2014557a101 100644
--- a/llvm/lib/Bitcode/Reader/Deserialize.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud