<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/15595">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gsm29205_test: fix error: missing braces around initializer<br><br>Since structure 'osmo_gcr_parsed' does contain arrays, GCC is not<br>happy about the way we initialize it. Let's do it explicitly.<br><br>Change-Id: Ia814b4a4ed5bec84ff1f69232f7f7d5ca0d19794<br>---<br>M tests/gsm29205/gsm29205_test.c<br>1 file changed, 7 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/95/15595/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/gsm29205/gsm29205_test.c b/tests/gsm29205/gsm29205_test.c</span><br><span>index 5add1b1..44c3453 100644</span><br><span>--- a/tests/gsm29205/gsm29205_test.c</span><br><span>+++ b/tests/gsm29205/gsm29205_test.c</span><br><span>@@ -44,7 +44,13 @@</span><br><span>        };</span><br><span>   uint8_t len;</span><br><span>         struct msgb *msg;</span><br><span style="color: hsl(0, 100%, 40%);">-       struct osmo_gcr_parsed p = { 0 }, g = {</span><br><span style="color: hsl(120, 100%, 40%);">+       struct osmo_gcr_parsed p = {</span><br><span style="color: hsl(120, 100%, 40%);">+          .net_len = 0,</span><br><span style="color: hsl(120, 100%, 40%);">+         .net = { 0 },</span><br><span style="color: hsl(120, 100%, 40%);">+         .node = 0x00,</span><br><span style="color: hsl(120, 100%, 40%);">+         .cr = { 0 },</span><br><span style="color: hsl(120, 100%, 40%);">+  };</span><br><span style="color: hsl(120, 100%, 40%);">+    struct osmo_gcr_parsed g = {</span><br><span>                 .net_len = 3,</span><br><span>                .net = { 0x51, 0x52, 0x53 },</span><br><span>                 .node = 0xDEAD,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/15595">change 15595</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/libosmocore/+/15595"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ia814b4a4ed5bec84ff1f69232f7f7d5ca0d19794 </div>
<div style="display:none"> Gerrit-Change-Number: 15595 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>