]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Remove nested "my" declaration
authorVinson Lee <vlee@freedesktop.org>
Fri, 3 Jun 2016 17:09:54 +0000 (18:09 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 3 Jun 2016 17:09:54 +0000 (18:09 +0100)
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 <vlee@freedesktop.org>
Reviewed-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/util/parserom.pl

index 28df6065263b0f488bc5f81d4d5be543d484925c..5a849a540bf0939a92ca994914e3a69bd3d3cc79 100755 (executable)
@@ -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";