Skip to content

Remove parameters that read_bin_goto_object_v3 does not use #2427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions src/goto-programs/read_bin_goto_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ Date: June 2006
/// read goto binary format v3
/// \par parameters: input stream, symbol_table, functions
/// \return true on error, false otherwise
bool read_bin_goto_object_v3(
static bool read_bin_goto_object_v3(
std::istream &in,
const std::string &filename,
symbol_tablet &symbol_table,
goto_functionst &functions,
message_handlert &message_handler,
irep_serializationt &irepconverter)
{
std::size_t count = irepconverter.read_gb_word(in); // # of symbols
Expand Down Expand Up @@ -229,10 +227,8 @@ bool read_bin_goto_object(
return true;

case 3:
return read_bin_goto_object_v3(in, filename,
symbol_table, functions,
message_handler,
irepconverter);
return read_bin_goto_object_v3(
in, symbol_table, functions, irepconverter);
break;

default:
Expand Down