Skip to content

Commit f6c9bbe

Browse files
committed
Mark the end of read_bin_goto_object with UNREACHABLE
The proceding control flow always returns before this point therefore we can use `UNREACHABLE` to make the control flow more explicit.
1 parent ee431f2 commit f6c9bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-programs/read_bin_goto_object.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,5 @@ bool read_bin_goto_object(
279279
}
280280
}
281281

282-
return false;
282+
UNREACHABLE;
283283
}

0 commit comments

Comments
 (0)