Igor Galić created TS-2001:
------------------------------

             Summary: clang complaint in HttpTransact.cc: logical not is only 
applied to the left hand side of this comparison
                 Key: TS-2001
                 URL: https://issues.apache.org/jira/browse/TS-2001
             Project: Traffic Server
          Issue Type: Bug
          Components: Cleanup
            Reporter: Igor Galić


{code}
  CXX    HttpTransact.o
HttpTransact.cc:5186:9: error: logical not is only applied to the left hand 
side of this comparison [-Werror,-Wlogical-not-parentheses]
        ! s->client_info.transfer_encoding == CHUNKED_ENCODING) {
        ^                                  ~~
HttpTransact.cc:5186:9: note: add parentheses after the '!' to evaluate the 
comparison first
        ! s->client_info.transfer_encoding == CHUNKED_ENCODING) {
        ^
          (                                                   )
HttpTransact.cc:5186:9: note: add parentheses around left hand side expression 
to silence this warning
        ! s->client_info.transfer_encoding == CHUNKED_ENCODING) {
        ^
        (                                 )
1 error generated.
make[3]: *** [HttpTransact.o] Error 1
make[3]: Leaving directory `/home/igalic/src/asf/trafficserver/proxy/http'
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to