Fixing unit tests and some minor bugs.

This commit is contained in:
Jon Siwek 2011-09-22 12:42:16 -05:00
parent 39af63841b
commit d2118200ea
13 changed files with 25 additions and 21 deletions

View file

@ -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() )
{