<p>Stefan Sperling has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11625">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">remove a redundant assertion<br><br>Prevent an assert() with an uninitialized variable. The same assertion<br>is run again once the variable t2m_count has been initialized.<br><br>Similar change was made upstream, albeit in a different function,<br>as part of this commit:<br>https://github.com/vlm/asn1c/commit/fb6344ef750a4d822ecd613819deba89b181b932<br><br>Change-Id: Ib81e76cfb339838f5e8981d175176557f1a8a63f<br>Related: CID#57935<br>---<br>M src/constr_SET.c<br>1 file changed, 0 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/25/11625/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/constr_SET.c b/src/constr_SET.c</span><br><span>index 8a124c0..b249869 100644</span><br><span>--- a/src/constr_SET.c</span><br><span>+++ b/src/constr_SET.c</span><br><span>@@ -670,7 +670,6 @@</span><br><span>     /*</span><br><span>    * Finalize order of the components.</span><br><span>          */</span><br><span style="color: hsl(0, 100%, 40%);">-     assert(t2m_count == td->elements_count);</span><br><span>  if(t2m_build_own) {</span><br><span>          /*</span><br><span>            * Sort the underlying members according to their</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11625">change 11625</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/11625"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libasn1c </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ib81e76cfb339838f5e8981d175176557f1a8a63f </div>
<div style="display:none"> Gerrit-Change-Number: 11625 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>