mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Fixing an always false condition.
Reported by clang.
This commit is contained in:
parent
09b7ccba23
commit
601cdbc6cf
1 changed files with 1 additions and 1 deletions
|
@ -792,7 +792,7 @@ bool Manager::Write(EnumVal* id, RecordVal* columns)
|
|||
if ( ! v )
|
||||
return false;
|
||||
|
||||
if ( ! v->Type()->Tag() == TYPE_STRING )
|
||||
if ( v->Type()->Tag() != TYPE_STRING )
|
||||
{
|
||||
reporter->Error("path_func did not return string");
|
||||
Unref(v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue