[ 
https://issues.apache.org/jira/browse/TS-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Berger updated TS-2341:
------------------------------

             Priority: Trivial  (was: Major)
    Affects Version/s: 4.1.0

> remap_stats: comparsion always true warning
> -------------------------------------------
>
>                 Key: TS-2341
>                 URL: https://issues.apache.org/jira/browse/TS-2341
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 4.1.0
>            Reporter: Thomas Berger
>            Priority: Trivial
>
> clang throws a warning while compiling the remap_stats plugin:
> {noformat}
> plugins/experimental/remap_stats/remap_stats.c:230:63: warning: comparison of 
> constant 599 with expression of type 'TSHttpStatus' is always true 
> [-Wtautological-constant-out-of-range-compare]
>                 else if ((status_code >= 500) && (status_code <= 599))
>                                                   ~~~~~~~~~~~ ^  ~~~
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to