<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/19258">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span></span><br></pre><div style="white-space:pre-wrap">Approvals:
  Sean Bright: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, but someone else must approve
  Michael Bradeen: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_geolocation: Fix issues exposed by compiling with -O2<br><br>Fixed "may be used uninitialized" errors in geoloc_config.c.<br><br>ASTERISK-30234<br><br>Change-Id: I1ea336bf7abbc16fa59b75720f0db8f1d960b3d4<br>---<br>M res/res_geolocation/geoloc_config.c<br>1 file changed, 14 insertions(+), 1 deletion(-)<br><br></pre>
<pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_geolocation/geoloc_config.c b/res/res_geolocation/geoloc_config.c</span><br><span>index dea7a22..26dd2d9 100644</span><br><span>--- a/res/res_geolocation/geoloc_config.c</span><br><span>+++ b/res/res_geolocation/geoloc_config.c</span><br><span>@@ -187,7 +187,7 @@</span><br><span>       struct ast_geoloc_location *location;</span><br><span>        const char *id = ast_sorcery_object_get_id(profile);</span><br><span>         enum ast_geoloc_validate_result result;</span><br><span style="color: hsl(0, 100%, 40%);">- enum ast_geoloc_format format;</span><br><span style="color: hsl(120, 100%, 40%);">+        enum ast_geoloc_format format = AST_GEOLOC_FORMAT_NONE;</span><br><span>      int rc = 0;</span><br><span> </span><br><span>      if (!ast_strlen_zero(profile->location_reference)) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/19258">change 19258</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/+/19258"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 19 </div>
<div style="display:none"> Gerrit-Change-Id: I1ea336bf7abbc16fa59b75720f0db8f1d960b3d4 </div>
<div style="display:none"> Gerrit-Change-Number: 19258 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Michael Bradeen <mbradeen@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>