Thomas Berger created TS-2341:
---------------------------------

             Summary: 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
            Reporter: Thomas Berger


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