Skip to content

Commit 675461f

Browse files
committed
Replace assert(false) with UNREACHABLE
1 parent b1be451 commit 675461f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/ic3/m1ain.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ int CompInfo::run_ic3()
242242
print_fclauses();
243243
break;
244244
default:
245-
assert(false);
245+
UNREACHABLE;
246246
}
247247
if (statistics) {
248248
printf("*********\n");

src/ic3/p5ick_lit.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,5 @@ int CompInfo::fxd_ord_lit(CUBE &Curr,SCUBE &Tried)
5353
return(lit);
5454
}
5555

56-
assert(false); // shouldn't reach this line
57-
56+
UNREACHABLE;
5857
} /* end of function fxd_ord_lit */

0 commit comments

Comments
 (0)