mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Fix maybe-uninitialized compiler warning
This commit is contained in:
parent
8abf0fad57
commit
b3c4b986ef
3 changed files with 6 additions and 2 deletions
|
@ -677,7 +677,7 @@ ListVal* CompositeHash::RecoverVals(const HashKey* k) const
|
|||
|
||||
loop_over_list(*tl, i)
|
||||
{
|
||||
Val* v;
|
||||
Val* v = nullptr;
|
||||
kp = RecoverOneVal(k, kp, k_end, (*tl)[i], v, false);
|
||||
ASSERT(v);
|
||||
l->Append(v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue