Skip to content

Commit a78db8c

Browse files
Cleanup invariants in remove_const_function_pointers
1 parent 466a7e3 commit a78db8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-programs/remove_const_function_pointers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ exprt remove_const_function_pointerst::resolve_symbol(
127127
bool remove_const_function_pointerst::try_resolve_function_call(
128128
const exprt &expr, functionst &out_functions)
129129
{
130-
assert(out_functions.empty());
130+
PRECONDITION(out_functions.empty());
131131
const exprt &simplified_expr=simplify_expr(expr, ns);
132132
bool resolved=false;
133133
functionst resolved_functions;

0 commit comments

Comments
 (0)