[asterisk-bugs] [JIRA] (ASTERISK-28803) [patch] chan_unistim: Avoid tautological warnings with clang.
Alexander Traud (JIRA)
noreply at issues.asterisk.org
Fri Apr 3 12:24:25 CDT 2020
Alexander Traud created ASTERISK-28803:
------------------------------------------
Summary: [patch] chan_unistim: Avoid tautological warnings with clang.
Key: ASTERISK-28803
URL: https://issues.asterisk.org/jira/browse/ASTERISK-28803
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/chan_unistim
Affects Versions: 17.3.0, 16.9.0, 13.32.0
Environment: clang 10
Reporter: Alexander Traud
Severity: Trivial
Since yesterday, Ubuntu 20.04 LTS is available as beta version. There, the compiler clang 10 gives:{code}chan_unistim.c:1354:16: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare]
if ((fav < 0) && (fav > 5)) {
~~~~~~~~~~^~~~~~~~~~~~
chan_unistim.c:1368:16: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare]
if ((fav < 0) && (fav > 5)) {
~~~~~~~~~~^~~~~~~~~~~~
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list