Skip to content

Commit 7e4dd05

Browse files
authored
Merge pull request diffblue#2440 from tautschnig/vs-list
Remove unused parameter from list_calls_and_arguments
2 parents 1f237ff + d0c2a49 commit 7e4dd05

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/goto-instrument/call_sequences.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ void check_call_sequence(const goto_modelt &goto_model)
270270

271271
static void list_calls_and_arguments(
272272
const namespacet &ns,
273-
const irep_idt &function,
274273
const goto_programt &goto_program)
275274
{
276275
forall_goto_program_instructions(i_it, goto_program)
@@ -321,5 +320,5 @@ void list_calls_and_arguments(const goto_modelt &goto_model)
321320
const namespacet ns(goto_model.symbol_table);
322321

323322
forall_goto_functions(f_it, goto_model.goto_functions)
324-
list_calls_and_arguments(ns, f_it->first, f_it->second.body);
323+
list_calls_and_arguments(ns, f_it->second.body);
325324
}

0 commit comments

Comments
 (0)