<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22726">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pcu: Fix warning: The value returned by function is not used<br><br>Change-Id: Id7068e74439d1532c32c6113e642d0b3b063aaf3<br>---<br>M pcu/PCUIF_Components.ttcn<br>1 file changed, 6 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/26/22726/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pcu/PCUIF_Components.ttcn b/pcu/PCUIF_Components.ttcn</span><br><span>index 50de700..868012f 100644</span><br><span>--- a/pcu/PCUIF_Components.ttcn</span><br><span>+++ b/pcu/PCUIF_Components.ttcn</span><br><span>@@ -363,11 +363,16 @@</span><br><span>            repeat;</span><br><span>              }</span><br><span>    [lengthof(pdtch_data_queue) > 0] CLCK.receive(tr_RAW_PCU_EV(TDMA_EV_PDTCH_BLOCK_END)) -> value event {</span><br><span style="color: hsl(120, 100%, 40%);">+          var boolean exists;</span><br><span>          /* FN matching the beginning of current block: */</span><br><span>            ev_begin_fn := event.data.tdma_fn - 3;</span><br><span> </span><br><span>           /* Check if we reached time to serve the first DATA.ind message in the queue: */</span><br><span style="color: hsl(0, 100%, 40%);">-                f_PCUIF_MsgQueue_first(pdtch_data_queue, pcu_msg);</span><br><span style="color: hsl(120, 100%, 40%);">+            exists := f_PCUIF_MsgQueue_first(pdtch_data_queue, pcu_msg);</span><br><span style="color: hsl(120, 100%, 40%);">+          if (not exists) {</span><br><span style="color: hsl(120, 100%, 40%);">+                     /* Should not happen since we end up here if lengthof(pdtch_data_queue) > 0 */</span><br><span style="color: hsl(120, 100%, 40%);">+                     mtc.stop;</span><br><span style="color: hsl(120, 100%, 40%);">+             }</span><br><span>            next_fn := pcu_msg.u.data_ind.fn;</span><br><span>            if (next_fn != 0 and next_fn != ev_begin_fn) {</span><br><span>                       if (next_fn < ev_begin_fn) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22726">change 22726</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/c/osmo-ttcn3-hacks/+/22726"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id7068e74439d1532c32c6113e642d0b3b063aaf3 </div>
<div style="display:none"> Gerrit-Change-Number: 22726 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>