mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
address lint concern about uninitialized variable
This commit is contained in:
parent
150ba6443e
commit
602d8a5372
1 changed files with 1 additions and 0 deletions
|
@ -289,6 +289,7 @@ ValPtr ZVal::ToVal(const TypePtr& t) const
|
|||
case TYPE_TIMER:
|
||||
case TYPE_UNION:
|
||||
case TYPE_VOID:
|
||||
v = nullptr;
|
||||
reporter->InternalError("bad ret type return tag");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue