Skip to content

Commit 4555d9f

Browse files
committed
Remove unused parameter
1 parent e32c6c5 commit 4555d9f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/goto-diff/unified_diff.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,7 @@ void unified_difft::output(std::ostream &os) const
400400

401401
bool unified_difft::instructions_equal(
402402
const goto_programt::instructiont &ins1,
403-
const goto_programt::instructiont &ins2,
404-
bool recurse)
403+
const goto_programt::instructiont &ins2)
405404
{
406405
return
407406
ins1.code==ins2.code &&
@@ -412,8 +411,7 @@ bool unified_difft::instructions_equal(
412411
(ins1.targets.empty() ||
413412
instructions_equal(
414413
*ins1.get_target(),
415-
*ins2.get_target(),
416-
false));
414+
*ins2.get_target()));
417415
}
418416

419417
const unified_difft::differences_mapt &unified_difft::differences_map() const

src/goto-diff/unified_diff.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ class unified_difft
8787

8888
static bool instructions_equal(
8989
const goto_programt::instructiont &ins1,
90-
const goto_programt::instructiont &ins2,
91-
bool recurse=true);
90+
const goto_programt::instructiont &ins2);
9291

9392
const differences_mapt &differences_map() const;
9493

0 commit comments

Comments
 (0)