<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14087">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, approved
George Joseph: Looks good to me, but someone else must approve
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">test_stasis: Avoid always true warning with clang.<br><br>ASTERISK-28808<br><br>Change-Id: I5e76831373532d7b8065d024e66cd1fb75dedd80<br>---<br>M tests/test_stasis.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/test_stasis.c b/tests/test_stasis.c</span><br><span>index e620039..08c3d1e 100644</span><br><span>--- a/tests/test_stasis.c</span><br><span>+++ b/tests/test_stasis.c</span><br><span>@@ -2201,7 +2201,7 @@</span><br><span> data = stasis_message_data(cts->consumer->messages_rxed[i]);</span><br><span> ast_test_status_update(test, "Message type received: %s %s\n",</span><br><span> stasis_message_type_name(stasis_message_type(cts->consumer->messages_rxed[i])),</span><br><span style="color: hsl(0, 100%, 40%);">- data && data->description ? data->description : "no data");</span><br><span style="color: hsl(120, 100%, 40%);">+ data && !ast_strlen_zero(data->description) ? data->description : "no data");</span><br><span> }</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14087">change 14087</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/+/14087"/><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: I5e76831373532d7b8065d024e66cd1fb75dedd80 </div>
<div style="display:none"> Gerrit-Change-Number: 14087 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>