fix warning when assertion disabled.
authorChris Lattner <sabre@nondot.org>
Sat, 21 Jun 2008 19:47:44 +0000 (19:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 21 Jun 2008 19:47:44 +0000 (19:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52588 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bitcode/Reader/Deserialize.cpp

index 113321fa26f28c1fe548c84cc3bc52caf0501673..2014557a1012da2755b6e2f0fda94a27dc3e4939 100644 (file)
@@ -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;
       }