mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Fixing unit tests and some minor bugs.
This commit is contained in:
parent
39af63841b
commit
d2118200ea
13 changed files with 25 additions and 21 deletions
|
@ -334,7 +334,7 @@ Val* BroFunc::Call(val_list* args, Frame* parent) const
|
|||
(flow != FLOW_RETURN /* we fell off the end */ ||
|
||||
! result /* explicit return with no result */) &&
|
||||
! f->HasDelayed() )
|
||||
reporter->Warning("non-void function returns without a value:", id->Name());
|
||||
reporter->Warning("non-void function returns without a value: %s", id->Name());
|
||||
|
||||
if ( result && g_trace_state.DoTrace() )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue