From: Eric Covener Date: Sun, 3 Mar 2013 17:38:14 +0000 (+0000) Subject: rv uninitialized -- the failing checks don't set rv, so don't pass it to ap_log_error. X-Git-Tag: 2.5.0-alpha~5709 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ea14dadff1cca59cd78da90a4c2b0cf206d33a4;p=apache rv uninitialized -- the failing checks don't set rv, so don't pass it to ap_log_error. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1452072 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index dce0c25e60..7523accbff 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -2940,7 +2940,7 @@ static int event_pre_config(apr_pool_t * pconf, apr_pool_t * plog, apr_atomic_dec32(&foo); i = apr_atomic_dec32(&foo); if (i >= 0) { - ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(02405) + ap_log_error(APLOG_MARK, APLOG_CRIT, 0, NULL, APLOGNO(02405) "atomics not working as expected"); return HTTP_INTERNAL_SERVER_ERROR; }