mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
remove deprecated union and timer types, addressing #1898
This commit is contained in:
parent
d77fd8305d
commit
11f8729997
9 changed files with 28 additions and 78 deletions
|
@ -104,8 +104,6 @@ ZVal::ZVal(ValPtr v, const TypePtr& t)
|
|||
break;
|
||||
|
||||
case TYPE_ERROR:
|
||||
case TYPE_TIMER:
|
||||
case TYPE_UNION:
|
||||
case TYPE_VOID:
|
||||
reporter->InternalError("bad type in ZVal constructor");
|
||||
}
|
||||
|
@ -185,8 +183,6 @@ ZVal::ZVal(const TypePtr& t)
|
|||
break;
|
||||
|
||||
case TYPE_ERROR:
|
||||
case TYPE_TIMER:
|
||||
case TYPE_UNION:
|
||||
case TYPE_VOID:
|
||||
reporter->InternalError("bad type in ZVal constructor");
|
||||
}
|
||||
|
@ -275,8 +271,6 @@ ValPtr ZVal::ToVal(const TypePtr& t) const
|
|||
break;
|
||||
|
||||
case TYPE_ERROR:
|
||||
case TYPE_TIMER:
|
||||
case TYPE_UNION:
|
||||
case TYPE_VOID:
|
||||
default:
|
||||
v = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue