hierarchy: Fix #303

* spot/tl/hierarchy.cc: code was actually reachable.
This commit is contained in:
Alexandre GBAGUIDI AISSE 2017-11-16 02:14:18 +01:00
parent 18b4566762
commit f7ee9ed18e

View file

@ -119,7 +119,10 @@ namespace spot
SPOT_UNREACHABLE();
}
else
SPOT_UNREACHABLE();
{
throw std::runtime_error("invalid value for SPOT_PR_CHECK "
"(should be 1 or 2)");
}
}
else
return algo;