<p>Friendly Automation <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11222">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Sean Bright: Looks good to me, but someone else must approve
Christian Savinovich: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">build: Fix compiler warnings/errors.<br><br>The compiler complained about a couple of variables that weren't<br>initialized but were being used. Initializing them to NULL resolves the<br>warnings/errors.<br><br>ASTERISK-28362 #close<br><br>Change-Id: I6243afc5459b416edff6bbf571b0489f6b852e4b<br>---<br>M channels/chan_sip.c<br>M pbx/pbx_dundi.c<br>2 files changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/chan_sip.c b/channels/chan_sip.c</span><br><span>index ce88e52..6836db3 100644</span><br><span>--- a/channels/chan_sip.c</span><br><span>+++ b/channels/chan_sip.c</span><br><span>@@ -11583,7 +11583,7 @@</span><br><span> ast_verbose("Discarded description format %s for ID %u\n", mimeSubtype, codec);</span><br><span> }</span><br><span> } else if (!strncmp(a, red_fmtp, strlen(red_fmtp))) {</span><br><span style="color: hsl(0, 100%, 40%);">- char *rest;</span><br><span style="color: hsl(120, 100%, 40%);">+ char *rest = NULL;</span><br><span> /* count numbers of generations in fmtp */</span><br><span> red_cp = &red_fmtp[strlen(red_fmtp)];</span><br><span> strncpy(red_fmtp, a, 100);</span><br><span>diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c</span><br><span>index 5c36c5a..83a1f70 100644</span><br><span>--- a/pbx/pbx_dundi.c</span><br><span>+++ b/pbx/pbx_dundi.c</span><br><span>@@ -3049,7 +3049,7 @@</span><br><span> ast_cli(a->fd, FORMAT2, "Prefix", "Context", "Expiration", "From");</span><br><span> </span><br><span> for (db_entry = db_tree; db_entry; db_entry = db_entry->next) {</span><br><span style="color: hsl(0, 100%, 40%);">- char *rest;</span><br><span style="color: hsl(120, 100%, 40%);">+ char *rest = NULL;</span><br><span> </span><br><span> if (ast_get_time_t(db_entry->data, &ts, 0, &length)) {</span><br><span> continue;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11222">change 11222</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/+/11222"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13.26 </div>
<div style="display:none"> Gerrit-Change-Id: I6243afc5459b416edff6bbf571b0489f6b852e4b </div>
<div style="display:none"> Gerrit-Change-Number: 11222 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Christian Savinovich <csavinovich@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>