You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Thomas Berger (JIRA)" <ji...@apache.org> on 2013/11/12 12:21:17 UTC
[jira] [Created] (TS-2341) remap_stats: comparsion always true
warning
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)