]> git.ipfire.org Git - thirdparty/squid.git/commit
Cleanup: remove invalid comparisons of 'this' with NULL
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 21 Nov 2014 18:14:10 +0000 (10:14 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 21 Nov 2014 18:14:10 +0000 (10:14 -0800)
commit328a07ab3c8cf73c748d99fb05fc5355b1c2f40c
treee24460e34423d72c1b5769931b35793f618c60d7
parent74ab741c4540f2995d4d78dbf7944ac7bd722fd2
Cleanup: remove invalid comparisons of 'this' with NULL

... which are invalid in C++ and always equate (this!=NULL) to true.

Clang 3.5 refuses to build code containing these invalid comparisons.
include/splay.h
lib/MemPoolChunked.cc
src/HttpHdrRange.cc
src/String.cc
src/auth/UserRequest.cc
src/auth/negotiate/UserRequest.cc
src/auth/ntlm/UserRequest.cc
src/client_side.cc
src/fs/ufs/RebuildState.cc
src/store.cc