From: Vinson Lee Date: Fri, 3 Jun 2016 17:09:54 +0000 (+0100) Subject: [build] Remove nested "my" declaration X-Git-Tag: v1.20.1~433 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6e8b800be5d8656aa2b10827cf7ea93cfcf5048;p=thirdparty%2Fipxe.git [build] Remove nested "my" declaration Fix build error with perl >= 5.23.2: Can't redeclare "my" in "my" at ./util/parserom.pl line 160 Signed-off-by: Vinson Lee Reviewed-by: Robin Smidsrød Signed-off-by: Michael Brown --- diff --git a/src/util/parserom.pl b/src/util/parserom.pl index 28df60652..5a849a540 100755 --- a/src/util/parserom.pl +++ b/src/util/parserom.pl @@ -157,7 +157,7 @@ sub process_isa_rom { # Output Makefile rules for the specified ROM declarations sub print_make_rules { - my ( $state, my $image, my $desc, my $vendor, my $device, my $dup ) = @_; + my ( $state, $image, $desc, $vendor, $device, $dup ) = @_; unless ( $state->{'is_header_printed'} ) { print "# NIC\t\n"; print "# NIC\tfamily\t$state->{family}\n";