mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/compiler-warnings'
* origin/topic/jsiwek/compiler-warnings: Fixing compiler warnings (addresses #388)
This commit is contained in:
commit
3b1f13b861
17 changed files with 82 additions and 75 deletions
|
@ -350,7 +350,7 @@ void StateAccess::Replay()
|
|||
v->AsRecordVal()->Assign(idx, op2 ? op2->Ref() : 0);
|
||||
}
|
||||
else
|
||||
reporter->Error(fmt("access replay: unknown record field %s for assign", field));
|
||||
reporter->Error("access replay: unknown record field %s for assign", field);
|
||||
}
|
||||
|
||||
else if ( t == TYPE_VECTOR )
|
||||
|
@ -411,7 +411,7 @@ void StateAccess::Replay()
|
|||
v->AsRecordVal()->Assign(idx, new_val, OP_INCR);
|
||||
}
|
||||
else
|
||||
reporter->Error(fmt("access replay: unknown record field %s for assign", field));
|
||||
reporter->Error("access replay: unknown record field %s for assign", field);
|
||||
}
|
||||
|
||||
else if ( t == TYPE_VECTOR )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue