fix warning.

llvm-svn: 42006
This commit is contained in:
Chris Lattner 2007-09-16 19:11:53 +00:00
parent 7f724e9b94
commit 8ad0e6a484
1 changed files with 1 additions and 1 deletions

View File

@ -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.");