mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
addressed a number of code review comments
This commit is contained in:
parent
b3e3cb847b
commit
d4eb0224a1
9 changed files with 56 additions and 71 deletions
|
@ -115,7 +115,8 @@ Trigger::Trigger(const Expr* cond, Stmt* body, Stmt* timeout_stmts,
|
|||
catch ( InterpreterException& )
|
||||
{ /* Already reported */ }
|
||||
|
||||
timeout_value = timeout_val->AsInterval();
|
||||
if ( timeout_val )
|
||||
timeout_value = timeout_val->AsInterval();
|
||||
}
|
||||
|
||||
Init(cond, body, timeout_stmts, frame, is_return, location);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue