git-add--interactive.perl: Remove two unused variables

The patch 8f0bef6 refactored this script and made the variable $fh unneeded in subs diff_applies and patch_update_file, but forgot to remove them. Signed-off-by: Thomas Badie <badie@lrde.epita.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Thomas Badie committed Jun 24, 2012 at 23:37 UTC 70969f775d28d7d7dc1f0688f71741f6260d442b
1 file changed -2
git-add--interactive.perl
-2
@@ -1067,7 +1067,6 @@ EOF
1067 }
1068
1069 sub diff_applies {
1070 - my $fh;
1070 return run_git_apply($patch_mode_flavour{APPLY_CHECK} . ' --check',
1071 map { @{$_->{TEXT}} } @_);
1072 }
@@ -1514,7 +1513,6 @@ sub patch_update_file {
1513 }
1514
1515 if (@result) {
1517 - my $fh;
1516 my @patch = reassemble_patch($head->{TEXT}, @result);
1517 my $apply_routine = $patch_mode_flavour{APPLY};
1518 &$apply_routine(@patch);