From 1700b9c05efd24b9b391aba0ba4c4477688b7b2e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 8 Jun 2017 11:59:38 -0300 Subject: [PATCH] Bug 18296: Remove perlcritic error (request.pl) "$itemnumbers_of_biblioitem" is declared but not used at line 314, column 5. Unused variables clutter code and make it harder to read. (Severity: 3) --- reserve/request.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reserve/request.pl b/reserve/request.pl index 9ec204c327..db35e165fa 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -311,7 +311,7 @@ foreach my $biblionumber (@biblionumbers) { ## Here we go backwards again to create hash of biblioitemnumber to itemnumbers, ## when by definition all of the itemnumber have the same biblioitemnumber - my ( $itemnumbers_of_biblioitem, $iteminfos_of); + my ( $iteminfos_of ); while ( my $item = $items->next ) { $item = $item->unblessed; my $biblioitemnumber = $item->{biblioitemnumber}; -- 2.11.0