fix warning when assertion disabled.
[oota-llvm.git] / 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;
       }