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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb79f2fb490992314f96d1765195fc5ad5864b83;p=thirdparty%2Fapache%2Fhttpd.git 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 dce0c25e607..7523accbfff 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; }