<p style="white-space: pre-wrap; word-wrap: break-word;">I thought this part of the code changed due to a problem building with gcc 10. However after reverting the offending section of code it still builds fine using gcc 9 and 10. It could have been that newer versions of gcc had problems with other zero length arrays and I went on a mission to fix all potential causing spots since a zero length array in the middle of a struct is discouraged.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Anyhow, I agree with Jaco. Changing back to a zero length array here should be fine since it seemingly did not cause a problem before.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15399">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15399">change 15399</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.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.asterisk.org/c/asterisk/+/15399"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ibb299334d527fcd2af2b023fe64925ecece77d6d </div>
<div style="display:none"> Gerrit-Change-Number: 15399 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Jean Aunis - Prescom <jean.aunis@prescom.fr> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Jaco Kroon <jaco@uls.co.za> </div>
<div style="display:none"> Gerrit-CC: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 10 Feb 2021 17:54:07 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>