address lint concern about uninitialized variable

This commit is contained in:
Vern Paxson 2021-03-01 17:08:06 -08:00
parent 150ba6443e
commit 602d8a5372

View file

@ -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");
}