[cfe-commits] r41996 - /cfe/trunk/AST/CFG.cpp
Hartmut Kaiser
hartmut.kaiser at gmail.com
Sat Sep 15 17:31:07 PDT 2007
Author: hkaiser
Date: Sat Sep 15 19:31:07 2007
New Revision: 41996
URL: http://llvm.org/viewvc/llvm-project?rev=41996&view=rev
Log:
Fixed a problem VC++ revealed in release mode. Please verify.
Modified:
cfe/trunk/AST/CFG.cpp
Modified: cfe/trunk/AST/CFG.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/CFG.cpp?rev=41996&r1=41995&r2=41996&view=diff
==============================================================================
--- cfe/trunk/AST/CFG.cpp (original)
+++ cfe/trunk/AST/CFG.cpp Sat Sep 15 19:31:07 2007
@@ -1132,7 +1132,7 @@
C->getRHS()->printPretty(OS);
}
}
- else if (DefaultStmt* D = dyn_cast<DefaultStmt>(D))
+ else if (DefaultStmt* D = dyn_cast<DefaultStmt>(S))
OS << "default";
else
assert(false && "Invalid label statement in CFGBlock.");
More information about the cfe-commits
mailing list