Skip to content

Commit d50cec0

Browse files
committed
Remove unused parameter from concurrency_instrumentationt::instrument
1 parent 475fe20 commit d50cec0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/goto-instrument/concurrency.cpp

+3-6
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ class concurrency_instrumentationt
4141

4242
void instrument(goto_functionst &goto_functions);
4343

44-
void instrument(
45-
goto_programt &goto_program,
46-
const is_threadedt &is_threaded);
44+
void instrument(goto_programt &goto_program);
4745

4846
void instrument(exprt &expr);
4947

@@ -110,8 +108,7 @@ void concurrency_instrumentationt::instrument(exprt &expr)
110108
}
111109

112110
void concurrency_instrumentationt::instrument(
113-
goto_programt &goto_program,
114-
const is_threadedt &is_threaded)
111+
goto_programt &goto_program)
115112
{
116113
for(goto_programt::instructionst::iterator
117114
it=goto_program.instructions.begin();
@@ -217,7 +214,7 @@ void concurrency_instrumentationt::instrument(
217214

218215
// now instrument
219216
Forall_goto_functions(f_it, goto_functions)
220-
instrument(f_it->second.body, is_threaded);
217+
instrument(f_it->second.body);
221218
}
222219

223220
void concurrency(

0 commit comments

Comments
 (0)