Skip to content

Commit 6676970

Browse files
committed
Fix for compilers (notably: g++ running on travis-ci) reporting spurious missing return values
1 parent 2a75ab4 commit 6676970

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cbmc/all_properties.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ class bmc_all_propertiest:
7070
case SUCCESS: return "SUCCESS";
7171
case ERROR: return "ERROR";
7272
}
73+
74+
// make some poor compilers happy
75+
assert(false);
76+
return "";
7377
}
7478

7579
explicit goalt(

0 commit comments

Comments
 (0)