[asterisk-bugs] [JIRA] (ASTERISK-23628) chan_unistim.c: 2 * bad if tests

dcb314 (JIRA) noreply at issues.asterisk.org
Mon Apr 14 03:20:18 CDT 2014


dcb314 created ASTERISK-23628:
---------------------------------

             Summary: chan_unistim.c: 2 * bad if tests
                 Key: ASTERISK-23628
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23628
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
         Environment: All
            Reporter: dcb314


[chan_unistim.c:1230]: (warning) Logical conjunction always evaluates to false: fav < 0 && fav > 5.

Source code is

    if ((fav < 0) && (fav > 5)) {

Suggest new code

    if ((fav < 0) || (fav > 5)) {

[chan_unistim.c:1244]: (warning) Logical conjunction always evaluates to false: fav < 0 && fav > 5.

Duplicate.




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



More information about the asterisk-bugs mailing list