Skip to content

Commit 3fd28f3

Browse files
author
Owen Jones
committed
Replace assert(X) by UNREACHABLE/INVARIANT(X)
1 parent 557158e commit 3fd28f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/flattening/boolbv_get.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ exprt boolbvt::bv_get_rec(
233233
case tvt::tv_enumt::TV_FALSE: ch='0'; break;
234234
case tvt::tv_enumt::TV_TRUE: ch='1'; break;
235235
case tvt::tv_enumt::TV_UNKNOWN: ch='0'; break;
236-
default: assert(false);
236+
default: UNREACHABLE;
237237
}
238238
}
239239

0 commit comments

Comments
 (0)