You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2014/07/17 06:30:26 UTC

svn commit: r1611244 - /httpd/httpd/trunk/server/mpm/winnt/service.c

Author: wrowe
Date: Thu Jul 17 04:30:25 2014
New Revision: 1611244

URL: http://svn.apache.org/r1611244
Log:
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.

Modified:
    httpd/httpd/trunk/server/mpm/winnt/service.c

Modified: httpd/httpd/trunk/server/mpm/winnt/service.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/winnt/service.c?rev=1611244&r1=1611243&r2=1611244&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/winnt/service.c (original)
+++ httpd/httpd/trunk/server/mpm/winnt/service.c Thu Jul 17 04:30:25 2014
@@ -535,7 +535,7 @@ static void __stdcall service_nt_main_fn
          rv = StartServiceCtrlDispatcherA(dispatchTable);
 #endif
     if (rv) {
-        apr_status_t rv = APR_SUCCESS;
+        rv = APR_SUCCESS;
     }
     else {
         /* This is a genuine failure of the SCM. */