]> git.ipfire.org Git - thirdparty/squid.git/commit - src/cbdata.h
Fix CBDATA_CLASS2 macro definition
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 9 Oct 2013 14:04:57 +0000 (08:04 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 9 Oct 2013 14:04:57 +0000 (08:04 -0600)
commitd6f8a323677b69686fe76cbe6f94155b1a1144ff
tree854c7cbdcfb42d9db999db725a040608156d216e
parente17fa6591838718567aa0b18bda7bb1e39e1821d
Fix CBDATA_CLASS2 macro definition

CBDATA_UNKNOWN was being used in place of a void no-op statement.
This was incorrect and useless. Now that the value definition is fixed
it is being picked up by the stricter compilers.
Replace the trinary conditional with an if-statement.
src/cbdata.h