]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
cppCheck: Suspicious condition.
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 10 Nov 2012 17:21:42 +0000 (17:21 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 10 Nov 2012 17:21:42 +0000 (17:21 +0000)
commit0b404c26311703c18aca4a74902aa2e77740fce3
tree2bf6cff91eca75b615ebb55b9ebcf67a6b4b2286
parent2363d7a4c531f782241551e4b2d3deef187b2820
cppCheck:  Suspicious condition.

AFAIK, there is no actual problem with the existing code.  'rv' would only not have the 'expected' value, but the execution
path would remain the same.
However, the patched code is more logical. We put the returned value in 'rv', then test it against 0.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1407853 13f79535-47bb-0310-9956-ffa450edef68
modules/aaa/mod_authz_dbd.c