]> git.ipfire.org Git - thirdparty/squid.git/commit
negotiate_wrapper_auth: fix warnings on MacOSX by simplification
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 23 Aug 2011 11:13:10 +0000 (23:13 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 23 Aug 2011 11:13:10 +0000 (23:13 +1200)
commit738d369fef9c690f2042b6dd20949dbd025844ba
tree9a2529002770dc380c9490823819b3021853a3cb
parentde051d9d3782216322525b753afd1c750fa32635
negotiate_wrapper_auth: fix warnings on MacOSX by simplification

 * fold several if statements down to avoid compiler warnings
   about potential use-before-set of 'length'.

 * remove static err variable as unused once its cases are
   folded down to one if statement.
helpers/negotiate_auth/wrapper/negotiate_wrapper.cc