mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
&on_change wrapup: documentation, tests, whitespacing
Adds documentation, fixes a whitespace issues, fixes compiler warning on some Linux system, extends test.
This commit is contained in:
parent
b6a244f784
commit
b1040f88c9
5 changed files with 10 additions and 6 deletions
|
@ -1969,7 +1969,7 @@ void TableVal::CallChangeFunc(const Val* index, Val* old_value, OnChangeType tpe
|
|||
|
||||
const Func* f = thefunc->AsFunc();
|
||||
val_list vl { Ref() };
|
||||
EnumVal* type;
|
||||
EnumVal* type = nullptr;
|
||||
switch ( tpe )
|
||||
{
|
||||
case element_new:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue