<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/7857">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">editline: Avoid comparison between pointer and zero character constant.<br><br>gcc 7.2 warned about this.<br><br>ASTERISK-27559<br><br>Change-Id: I48960dda9cf0a11b6a9426f775e632363f8caa74<br>---<br>M main/editline/term.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/editline/term.c b/main/editline/term.c<br>index 03623be..6814cc4 100644<br>--- a/main/editline/term.c<br>+++ b/main/editline/term.c<br>@@ -428,7 +428,7 @@<br> */<br> tlen = 0;<br> for (tmp = tlist; tmp < &tlist[T_str]; tmp++)<br>- if (*tmp != NULL && *tmp != '\0' && *tmp != *str) {<br>+ if (*tmp != NULL && **tmp != '\0' && *tmp != *str) {<br> char *ptr;<br> <br> for (ptr = *tmp; *ptr != '\0'; termbuf[tlen++] = *ptr++)<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7857">change 7857</a>. To unsubscribe, 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/7857"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I48960dda9cf0a11b6a9426f775e632363f8caa74 </div>
<div style="display:none"> Gerrit-Change-Number: 7857 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>