<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/9565">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmocon: Set compiler attr to unused variables<br><br>Variables are not removed as they document the commands of the<br>propietary romloader.<br><br>Let's mark them as unused to avoid compilation warnings.<br><br>Change-Id: If4c6814ada85956975e687eb43dcfd4ad70b8b94<br>---<br>M src/host/osmocon/osmocon.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c</span><br><span>index 2e822e8..131eab7 100644</span><br><span>--- a/src/host/osmocon/osmocon.c</span><br><span>+++ b/src/host/osmocon/osmocon.c</span><br><span>@@ -210,13 +210,13 @@</span><br><span> </span><br><span> /* Calypso romloader specific */</span><br><span> static const uint8_t romload_ident_cmd[] = { 0x3c, 0x69 }; /* <i */</span><br><span style="color: hsl(0, 100%, 40%);">-static const uint8_t romload_abort_cmd[] =   { 0x3c, 0x61 }; /* <a */</span><br><span style="color: hsl(120, 100%, 40%);">+static const uint8_t __attribute__((__unused__)) romload_abort_cmd[] =     { 0x3c, 0x61 }; /* <a */</span><br><span> static const uint8_t romload_write_cmd[] =       { 0x3c, 0x77 }; /* <w */</span><br><span> static const uint8_t romload_checksum_cmd[] =    { 0x3c, 0x63 }; /* <c */</span><br><span> static const uint8_t romload_branch_cmd[] =      { 0x3c, 0x62 }; /* <b */</span><br><span> static const uint8_t romload_ident_ack[] =       { 0x3e, 0x69 }; /* >i */</span><br><span> static const uint8_t romload_param_ack[] =       { 0x3e, 0x70 }; /* >p */</span><br><span style="color: hsl(0, 100%, 40%);">-static const uint8_t romload_param_nack[] =  { 0x3e, 0x50 }; /* >P */</span><br><span style="color: hsl(120, 100%, 40%);">+static const uint8_t __attribute__((__unused__)) romload_param_nack[] =    { 0x3e, 0x50 }; /* >P */</span><br><span> static const uint8_t romload_block_ack[] =       { 0x3e, 0x77 }; /* >w */</span><br><span> static const uint8_t romload_block_nack[] =      { 0x3e, 0x57 }; /* >W */</span><br><span> static const uint8_t romload_checksum_ack[] =    { 0x3e, 0x63 }; /* >c */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9565">change 9565</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/9565"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: If4c6814ada85956975e687eb43dcfd4ad70b8b94 </div>
<div style="display:none"> Gerrit-Change-Number: 9565 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>