Fix maybe-uninitialized compiler warning

This commit is contained in:
Jon Siwek 2019-05-14 19:01:05 -07:00
parent 8abf0fad57
commit b3c4b986ef
3 changed files with 6 additions and 2 deletions

View file

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