Skip to content

Commit 9da9979

Browse files
committed
Remove function that is never used
this function is never called, so I am removing it because the remove_function_pointers.cpp file is already pretty busy
1 parent 1dbc443 commit 9da9979

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

src/goto-programs/remove_function_pointers.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -577,23 +577,6 @@ void remove_function_pointerst::operator()(goto_functionst &functions)
577577
}
578578
}
579579

580-
bool remove_function_pointers(message_handlert &_message_handler,
581-
symbol_tablet &symbol_table,
582-
const goto_functionst &goto_functions,
583-
goto_programt &goto_program,
584-
bool add_safety_assertion,
585-
bool only_remove_const_fps)
586-
{
587-
remove_function_pointerst
588-
rfp(
589-
_message_handler,
590-
symbol_table,
591-
add_safety_assertion,
592-
only_remove_const_fps,
593-
goto_functions);
594-
595-
return rfp.remove_function_pointers(goto_program);
596-
}
597580

598581
void remove_function_pointers(
599582
message_handlert &_message_handler,

src/goto-programs/remove_function_pointers.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,5 @@ void remove_function_pointers(
3535
bool add_safety_assertion,
3636
bool only_remove_const_fps=false);
3737

38-
bool remove_function_pointers(
39-
message_handlert &_message_handler,
40-
symbol_tablet &symbol_table,
41-
const goto_functionst &goto_functions,
42-
goto_programt &goto_program,
43-
bool add_safety_assertion,
44-
bool only_remove_const_fps=false);
4538

4639
#endif // CPROVER_GOTO_PROGRAMS_REMOVE_FUNCTION_POINTERS_H

0 commit comments

Comments
 (0)