Bug 11541: (follow-up) repair some warnings
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 14 Jan 2014 20:04:27 +0000 (15:04 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 14 Jan 2014 21:38:11 +0000 (21:38 +0000)
commit457ae7e20567e9a46ee5ceae9e8cb130064b84ba
treecb6295e87718cbde62c17a489764672487f9d674
parenta75be3ab0d3e3837d85b69e4392c13210127ec14
Bug 11541: (follow-up) repair some warnings

Tests succeed, but cause many warnings:

prove t/Installer.t
t/Installer.t .. 1/9 "my" variable $self masks earlier declaration in
same scope at t/Installer.t line 19.
"my" variable $self masks earlier declaration in same scope at
t/Installer.t line 20.
"my" variable $self masks earlier declaration in same scope at
t/Installer.t line 21.
"my" variable $self masks earlier declaration in same scope at
t/Installer.t line 22.
"my" variable $self masks earlier declaration in same scope at
t/Installer.t line 23.
Odd number of elements in anonymous hash at t/Installer.t line 17.
Use of uninitialized value within @ARGV in anonymous hash ({}) at
t/Installer.t line 17.

The patch remedies that.

Test Plan:
1) Apply first patch on this bug
2) Run "prove t/Installer.t"
3) Note the warnings
4) Apply this patch
5) Repeat step 2
6) Note the warnings are gone

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/Installer.t