mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
addressed some nits re "-O gen-C++" script optimization
This commit is contained in:
parent
6af0014a7b
commit
4928e074d4
3 changed files with 5 additions and 7 deletions
|
@ -89,6 +89,9 @@ void CPPCompile::GenStmt(const Stmt* s)
|
|||
Emit("return false;");
|
||||
break;
|
||||
|
||||
case STMT_FALLTHROUGH:
|
||||
break;
|
||||
|
||||
case STMT_PRINT:
|
||||
{
|
||||
auto el = static_cast<const ExprListStmt*>(s)->ExprList();
|
||||
|
@ -96,9 +99,6 @@ void CPPCompile::GenStmt(const Stmt* s)
|
|||
}
|
||||
break;
|
||||
|
||||
case STMT_FALLTHROUGH:
|
||||
break;
|
||||
|
||||
default:
|
||||
reporter->InternalError("bad statement type in CPPCompile::GenStmt");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue