diff --git a/src/Val.cc b/src/Val.cc index 32d64c5cdd..57bfbb3a5e 100644 --- a/src/Val.cc +++ b/src/Val.cc @@ -2020,7 +2020,7 @@ vector 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); diff --git a/src/Val.h b/src/Val.h index 2ce61100b5..3b895dab14 100644 --- a/src/Val.h +++ b/src/Val.h @@ -981,7 +981,6 @@ protected: Val* DoClone(CloneState* state) override; - RecordType* record_type; BroObj* origin; static vector parse_time_records;