[asterisk-bugs] [JIRA] (ASTERISK-26140) res_rtp_asterisk: gcc 6 caught a self-comparison

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Jul 13 09:12:57 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph closed ASTERISK-26140.
------------------------------------


> res_rtp_asterisk: gcc 6 caught a self-comparison
> ------------------------------------------------
>
>                 Key: ASTERISK-26140
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26140
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: SVN, 13.9.1
>         Environment: Fedora 24
> gcc 6.1.1
>            Reporter: George Joseph
>            Severity: Minor
>      Target Release: 11.23.0, 13.10.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list