Skip to content

Commit a3fe43b

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#2427 from tautschnig/vs-read-bin
Remove parameters that read_bin_goto_object_v3 does not use
2 parents 0ab38e5 + 373636e commit a3fe43b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/goto-programs/read_bin_goto_object.cpp

+3-7
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@ Date: June 2006
2323
/// read goto binary format v3
2424
/// \par parameters: input stream, symbol_table, functions
2525
/// \return true on error, false otherwise
26-
bool read_bin_goto_object_v3(
26+
static bool read_bin_goto_object_v3(
2727
std::istream &in,
28-
const std::string &filename,
2928
symbol_tablet &symbol_table,
3029
goto_functionst &functions,
31-
message_handlert &message_handler,
3230
irep_serializationt &irepconverter)
3331
{
3432
std::size_t count = irepconverter.read_gb_word(in); // # of symbols
@@ -229,10 +227,8 @@ bool read_bin_goto_object(
229227
return true;
230228

231229
case 3:
232-
return read_bin_goto_object_v3(in, filename,
233-
symbol_table, functions,
234-
message_handler,
235-
irepconverter);
230+
return read_bin_goto_object_v3(
231+
in, symbol_table, functions, irepconverter);
236232
break;
237233

238234
default:

0 commit comments

Comments
 (0)