Bug 15217 Remove redundant duplicate var declaration
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 19 Nov 2015 14:17:10 +0000 (14:17 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 31 Dec 2015 08:29:02 +0000 (09:29 +0100)
commit141f30d406671330bf31b199b4cdb78414176111
tree71605cff1061cc3a1b5cab665b1bc01580142fe0
parent008e3805ff1f6b59422286a33b55f4b509edca87
 Bug 15217 Remove redundant duplicate var declaration

remove superfluous second declaration of template, borrowernumber and
cookie which are never used

Also removed the variables @results and @results_array which are
declared but not used

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
  As suggested by Colin, perl -wc catalogue/search.pl doesn't complain
  anymore after applying the patch. perlcritic confirms the 2 variables
  were unused.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 558f291465d60c082c0e9a4a15eb7ed87a3e3fde)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
catalogue/search.pl