From a619e7ac1ce9d08b1387945397611048f5b64294 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 20 Mar 2016 00:01:47 +0100 Subject: [PATCH] Remove a useless parameter. --- remoteglot.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remoteglot.pl b/remoteglot.pl index 1caf19b..2c5fd9f 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -861,7 +861,7 @@ sub output_json { $refutation_lines{$pv->[0]} = { sort_key => $pretty_move, depth => $info->{'depth' . $mpv}, - score_sort_key => score_sort_key($info, $pos_calculating, $mpv, 0), + score_sort_key => score_sort_key($info, $mpv, 0), pretty_score => short_score($info, $pos_calculating, $mpv), pretty_move => $pretty_move, pv_pretty => \@pretty_pv, @@ -1052,7 +1052,7 @@ sub short_score { } sub score_sort_key { - my ($info, $pos, $mpv, $invert) = @_; + my ($info, $mpv, $invert) = @_; if (defined($info->{'score_mate' . $mpv})) { my $mate = $info->{'score_mate' . $mpv}; -- 2.39.2