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

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Jun 22 12:41:56 CDT 2016


George Joseph created ASTERISK-26140:
----------------------------------------

             Summary: 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: 13.9.1, SVN
         Environment: Fedora 24
gcc 6.1.1
            Reporter: George Joseph
            Severity: Minor


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