1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

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
This commit is contained in:
Eric Covener
2013-03-03 17:38:14 +00:00
parent f9b2fedce6
commit 1ea14dadff

View File

@@ -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;
}