mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Fixing a few Coverity warnings.
This commit is contained in:
parent
85213e6b55
commit
50945a6359
6 changed files with 8 additions and 4 deletions
|
@ -2401,7 +2401,7 @@ bool TableVal::DoSerialize(SerialInfo* info) const
|
|||
}
|
||||
|
||||
// Serialize index.
|
||||
if ( ! state->did_index )
|
||||
if ( k && ! state->did_index )
|
||||
{
|
||||
// Indices are rather small, so we disable suspension
|
||||
// here again.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue