diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2014-07-17 06:30:25 +0200 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2014-07-17 06:30:25 +0200 |
commit | 3d737aca1f8d23be8c1d78c484ee09a4e6c3ce84 (patch) | |
tree | f82d16218b971343958d68085d1c3753f7eb5126 /server | |
parent | Improve doxygen comment. (diff) | |
download | apache2-3d737aca1f8d23be8c1d78c484ee09a4e6c3ce84.tar.xz apache2-3d737aca1f8d23be8c1d78c484ee09a4e6c3ce84.zip |
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
Diffstat (limited to 'server')
-rw-r--r-- | server/mpm/winnt/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm/winnt/service.c b/server/mpm/winnt/service.c index a46640ee58..457ff8cf99 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. */ |