Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 <vlee@freedesktop.org>
Reviewed-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
vinsonlee authored and mcb30 committed Jun 3, 2016
1 parent aa4b038 commit f6e8b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/parserom.pl
Expand Up @@ -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";
Expand Down

0 comments on commit f6e8b80

Please sign in to comment.