mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
lint fixes: ensuring functions return values, robustness to nil Val's
This commit is contained in:
parent
e21c0f1115
commit
5a8ba8c3e5
4 changed files with 8 additions and 2 deletions
|
@ -713,6 +713,8 @@ function enable_stream(id: ID) : bool
|
|||
|
||||
if ( id in all_streams )
|
||||
active_streams[id] = all_streams[id];
|
||||
|
||||
return T;
|
||||
}
|
||||
|
||||
# convenience function to add a filter name to stream_filters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue