some code simplifications and streamlining

This commit is contained in:
Vern Paxson 2023-07-20 09:32:17 -07:00
parent 18c77ddc2c
commit 79c53c9ed6
11 changed files with 23 additions and 27 deletions

View file

@ -13,7 +13,7 @@ namespace zeek::detail
const ZAMStmt ZAMCompiler::CompileStmt(const Stmt* s)
{
SetCurrStmt(s);
curr_stmt = const_cast<Stmt*>(s)->ThisPtr();
switch ( s->Tag() )
{