]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
this patch removes the warning:
authorJeff Trawick <trawick@apache.org>
Wed, 16 May 2001 18:38:36 +0000 (18:38 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 16 May 2001 18:38:36 +0000 (18:38 +0000)
warning C4715: 'mpm_service_install' : not all control paths return a value

it would result in a bogus exit status from apache when invoked to install
the service

Submitted by: Ian Holsman <IanH@cnet.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89129 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/service.c

index ac88e236c4e7d33d95fae66c0024ad556fc691a1..474402a0b5848a96dfb110740b46ca6c1261dc5a 100644 (file)
@@ -912,6 +912,7 @@ apr_status_t mpm_service_install(apr_pool_t *ptemp, int argc,
         return (rv);
     }
     printf("The %s service is successfully installed.\n", mpm_display_name);
+    return APR_SUCCESS;
 }