is_parity: fix unitialized value of max on False return

* spot/twa/acc.cc: Here.  This fixes two failures on the buildfarm.
This commit is contained in:
Alexandre Duret-Lutz 2019-06-13 09:55:35 +02:00
parent b4da0cf660
commit d064b7dad2

View file

@ -1080,7 +1080,10 @@ namespace spot
} }
if (!equiv) if (!equiv)
return false; {
max = false;
return false;
}
if (equiv_codes(code_, max_code)) if (equiv_codes(code_, max_code))
{ {
@ -1092,6 +1095,7 @@ namespace spot
max = false; max = false;
return true; return true;
} }
max = false;
return false; return false;
} }