<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/19088">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">TransceiverState: Initialize ctrs field in constructor<br><br>Coverity dixit:<br>"Non-static class member field "ctrs.tx_stale_bursts" is not initialized<br>in this constructor nor in any functions that it calls."<br><br>Fixes: CID#211258<br>Change-Id: I4643a0500e9cad09938c05fab2f358167f72ffa9<br>---<br>M Transceiver52M/Transceiver.cpp<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/88/19088/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp</span><br><span>index 941b761..2ae5eda 100644</span><br><span>--- a/Transceiver52M/Transceiver.cpp</span><br><span>+++ b/Transceiver52M/Transceiver.cpp</span><br><span>@@ -65,6 +65,7 @@</span><br><span>     for (int n = 0; n < 102; n++)</span><br><span>       fillerTable[n][i] = NULL;</span><br><span>   }</span><br><span style="color: hsl(120, 100%, 40%);">+  memset(&ctrs, 0, sizeof(struct trx_counters));</span><br><span> }</span><br><span> </span><br><span> TransceiverState::~TransceiverState()</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/19088">change 19088</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-trx/+/19088"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I4643a0500e9cad09938c05fab2f358167f72ffa9 </div>
<div style="display:none"> Gerrit-Change-Number: 19088 </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>