mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Fix some Coverity warnings.
This commit is contained in:
parent
a273143e7d
commit
3adad5e19a
7 changed files with 27 additions and 8 deletions
|
@ -640,8 +640,6 @@ bool Manager::RemoveFilter(EnumVal* id, string name)
|
|||
|
||||
bool Manager::Write(EnumVal* id, RecordVal* columns)
|
||||
{
|
||||
bool error = false;
|
||||
|
||||
Stream* stream = FindStream(id);
|
||||
if ( ! stream )
|
||||
return false;
|
||||
|
@ -850,9 +848,6 @@ bool Manager::Write(EnumVal* id, RecordVal* columns)
|
|||
|
||||
Unref(columns);
|
||||
|
||||
if ( error )
|
||||
RemoveDisabledWriters(stream);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue