]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix CBDATA_CLASS2 macro definition
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Oct 2013 15:26:21 +0000 (09:26 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Oct 2013 15:26:21 +0000 (09:26 -0600)
commitf24746bf2086e02aea010977576b4152895eb3cc
treefb118d18e3d3b27884175ca90e06fd0a7174f357
parentad9d3564e269b8e9f683158354a7caf5e1871850
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