[Home]

Summary:ASTERISK-26140: res_rtp_asterisk: gcc 6 caught a self-comparison
Reporter:George Joseph (gjoseph)Labels:
Date Opened:2016-06-22 12:41:52Date Closed:2016-06-22 19:24:51
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_rtp_asterisk
Versions:SVN 13.9.1 Frequency of
Occurrence
Related
Issues:
Environment:Fedora 24 gcc 6.1.1Attachments:
Description:gcc 6 caught a place in res_rtp_asterisk where we're doing a self comparison...

{noformat}
res_rtp_asterisk.c:544:21: error: self-comparison always evaluates to false [-Werror=tautological-compare]
    candidate1->type != candidate1->type) {
                     ^~
{noformat}

The right side should be candidate2.

Comments: