[llvm-commits] [llvm] r52588 - /llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp
Chris Lattner
sabre at nondot.org
Sat Jun 21 12:47:44 PDT 2008
Author: lattner
Date: Sat Jun 21 14:47:44 2008
New Revision: 52588
URL: http://llvm.org/viewvc/llvm-project?rev=52588&view=rev
Log:
fix warning when assertion disabled.
Modified:
llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp
Modified: llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp?rev=52588&r1=52587&r2=52588&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp (original)
+++ llvm/trunk/lib/Bitcode/Reader/Deserialize.cpp Sat Jun 21 14:47:44 2008
@@ -85,7 +85,7 @@
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;
}
More information about the llvm-commits
mailing list