Commit d064b7da authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

is_parity: fix unitialized value of max on False return

* spot/twa/acc.cc: Here.  This fixes two failures on the buildfarm.
parent b4da0cf6
Pipeline #9946 passed with stages
in 188 minutes and 13 seconds
......@@ -1080,7 +1080,10 @@ namespace spot
}
if (!equiv)
return false;
{
max = false;
return false;
}
if (equiv_codes(code_, max_code))
{
......@@ -1092,6 +1095,7 @@ namespace spot
max = false;
return true;
}
max = false;
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment