Use type-consistent unsigned value for unreachable return statement

This commit is contained in:
Michael Tautschnig 2018-06-22 14:35:35 +01:00
parent 8187bdd165
commit 16e6a997b0
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ std::size_t goto_cc_cmdlinet::get_optnr(const std::string &opt_string)
else
{
UNREACHABLE;
return -1;
return 0;
}
// new?