This change replaces "my $file_offset = shift // 0x0;" (which produces a
runtime error) with "my $file_offset = scalar @_ ? shift : 0x0;" where
the intention is 0x0 to be the default value used if the optional
file_offset parameter is not provided.
You can view, comment on, or merge this pull request online at:

  https://github.com/ipxe/ipxe/pull/89

-- Commit Summary --

  * [util] Fix a syntax error in ROM.pm.

-- File Changes --

    M src/util/Option/ROM.pm (2)

-- Patch Links --

https://github.com/ipxe/ipxe/pull/89.patch
https://github.com/ipxe/ipxe/pull/89.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/89
_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to