David Binderman created TS-2663:
-----------------------------------

             Summary: [HttpTransactHeaders.cc:622]: (style) Same expression on 
both sides of '||'.
                 Key: TS-2663
                 URL: https://issues.apache.org/jira/browse/TS-2663
             Project: Traffic Server
          Issue Type: Bug
            Reporter: David Binderman


Source code is

    if (log_code == SQUID_LOG_TCP_MISS || log_code == SQUID_LOG_TCP_MISS) {

Judging by code a few lines further down, maybe the following
code was intended

   if (log_code == SQUID_LOG_TCP_MISS || log_code == SQUID_LOG_TCP_IMS_MISS) {

I found this possible problem by using cppcheck, a static analysis checker.




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

Reply via email to