Skip to content

Commit 16e6a99

Browse files
committed
Use type-consistent unsigned value for unreachable return statement
1 parent 8187bdd commit 16e6a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-cc/goto_cc_cmdline.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ std::size_t goto_cc_cmdlinet::get_optnr(const std::string &opt_string)
103103
else
104104
{
105105
UNREACHABLE;
106-
return -1;
106+
return 0;
107107
}
108108

109109
// new?

0 commit comments

Comments
 (0)