]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cache: Remove useless test for nonzero.
authorOlivier Houchard <cognet@ci0.org>
Wed, 1 Nov 2017 12:58:21 +0000 (13:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 1 Nov 2017 14:10:51 +0000 (15:10 +0100)
commitcd2867a012483549bd11928c647c79d22a18c1b6
treecd15ce0892fec751adef127d890a4d5b72dd805d
parent7da120bb0e8b24e2d9878e2a719d4863ff5af596
MINOR: cache: Remove useless test for nonzero.

Don't bother testing if len is nonzero, we know it is, as we're in the
"else" part of a if (!len), and testing it confuses clang into thinking
ret may be left uninitialized.
src/cache.c