From 5aedf55a06ef9de0bd3af6f1e3256fa89870a8dc Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 17 Jul 2014 04:30:25 +0000 Subject: [PATCH] As noted by Yann, this resulted in a dead var assignment. Preinit won't work due to the fact that we overload rv as both the DWORD windows result and the apr_status_t result code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1611244 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/winnt/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mpm/winnt/service.c b/server/mpm/winnt/service.c index a46640ee588..457ff8cf99e 100644 --- a/server/mpm/winnt/service.c +++ b/server/mpm/winnt/service.c @@ -535,7 +535,7 @@ static void __stdcall service_nt_main_fn(DWORD argc, LPSTR *argv) rv = StartServiceCtrlDispatcherA(dispatchTable); #endif if (rv) { - apr_status_t rv = APR_SUCCESS; + rv = APR_SUCCESS; } else { /* This is a genuine failure of the SCM. */ -- 2.47.3