diff options
-rw-r--r-- | AST/CFG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AST/CFG.cpp b/AST/CFG.cpp index c89e5803c6..cdde4af169 100644 --- a/AST/CFG.cpp +++ b/AST/CFG.cpp @@ -1132,7 +1132,7 @@ void print_block(std::ostream& OS, const CFG* cfg, const CFGBlock& B, C->getRHS()->printPretty(OS); } } - else if (DefaultStmt* D = dyn_cast<DefaultStmt>(S)) + else if (isa<DefaultStmt>(S)) OS << "default"; else assert(false && "Invalid label statement in CFGBlock."); |