mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Remove unused variable from RecordVal (Coverity-1402820)
This commit is contained in:
parent
723793aa9e
commit
e390244442
2 changed files with 1 additions and 2 deletions
|
@ -2020,7 +2020,7 @@ vector<RecordVal*> RecordVal::parse_time_records;
|
|||
|
||||
RecordVal::RecordVal(RecordType* t, bool init_fields) : Val(t)
|
||||
{
|
||||
origin = 0;
|
||||
origin = nullptr;
|
||||
int n = t->NumFields();
|
||||
val_list* vl = val.val_list_val = new val_list(n);
|
||||
|
||||
|
|
|
@ -981,7 +981,6 @@ protected:
|
|||
|
||||
Val* DoClone(CloneState* state) override;
|
||||
|
||||
RecordType* record_type;
|
||||
BroObj* origin;
|
||||
|
||||
static vector<RecordVal*> parse_time_records;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue