Skip to content

Commit

Permalink
Merge pull request diffblue#349 from diffblue/owen-jones-diffblue/fix…
Browse files Browse the repository at this point in the history
…-compilation-for-release

Replace assert(X) by UNREACHABLE/INVARIANT(X)
  • Loading branch information
owen-jones-diffblue authored Mar 9, 2018
2 parents 3d8423c + 3fd28f3 commit 906aeb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solvers/flattening/boolbv_get.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ exprt boolbvt::bv_get_rec(
case tvt::tv_enumt::TV_FALSE: ch='0'; break;
case tvt::tv_enumt::TV_TRUE: ch='1'; break;
case tvt::tv_enumt::TV_UNKNOWN: ch='0'; break;
default: assert(false);
default: UNREACHABLE;
}
}

Expand Down

0 comments on commit 906aeb3

Please sign in to comment.