]> granicus.if.org Git - apache/commitdiff
rv uninitialized -- the failing checks don't set rv, so don't pass it to ap_log_error.
authorEric Covener <covener@apache.org>
Sun, 3 Mar 2013 17:38:14 +0000 (17:38 +0000)
committerEric Covener <covener@apache.org>
Sun, 3 Mar 2013 17:38:14 +0000 (17:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1452072 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/event.c

index dce0c25e60710313da198538ddfb103208cb910c..7523accbfff2be18a7ee4d564a8ee55df4103d41 100644 (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;
         }