<p>This change replaces "my $file_offset = shift // 0x0;" (which produces a<br>
runtime error) with "my $file_offset = scalar @_ ? shift : 0x0;" where<br>
the intention is 0x0 to be the default value used if the optional<br>
file_offset parameter is not provided.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/ipxe/ipxe/pull/89'>https://github.com/ipxe/ipxe/pull/89</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>[util] Fix a syntax error in ROM.pm.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/89/files#diff-0">src/util/Option/ROM.pm</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/ipxe/ipxe/pull/89.patch'>https://github.com/ipxe/ipxe/pull/89.patch</a></li>
  <li><a href='https://github.com/ipxe/ipxe/pull/89.diff'>https://github.com/ipxe/ipxe/pull/89.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ipxe/ipxe/pull/89">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AArTVBtIFNqdMK0AY65Kfa_KsV28xhN2ks5vK_osgaJpZM4am867">mute the thread</a>.<img src="https://github.com/notifications/beacon/AArTVA0auIhpvAsyM244y6XNs_P4n4_Vks5vK_osgaJpZM4am867.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/ipxe/ipxe","title":"ipxe/ipxe","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/ipxe/ipxe"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"[util] Fix a syntax error in ROM.pm. (#89)"}],"action":{"name":"View Pull Request","url":"https://github.com/ipxe/ipxe/pull/89"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ipxe/ipxe/pull/89",
"url": "https://github.com/ipxe/ipxe/pull/89",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>