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)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 30 Dec 2015 02:34:04 +0000 (02:34 +0000)
commit558f291465d60c082c0e9a4a15eb7ed87a3e3fde
tree2d8ebd25a343d312a2bd6aaea38910f16b5fee87
parente89714ea84acd8300a629a7acccc6eee90ff0ff0
 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>
catalogue/search.pl