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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user