Skip to content

Commit 80fd7b5

Browse files
Cleanup invariants in remove_unused_functions
1 parent 7dc78c6 commit 80fd7b5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/goto-programs/remove_unused_functions.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ void find_used_functions(
7777
{
7878
const code_function_callt &call = to_code_function_call(it->code);
7979

80-
// check that this is actually a simple call
81-
assert(call.function().id()==ID_symbol);
82-
8380
const irep_idt &identifier =
8481
to_symbol_expr(call.function()).get_identifier();
8582

0 commit comments

Comments
 (0)