X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.cpp;h=ce3fb925ca86e3d38fb658c7e42f72e7a5562a43;hb=651295f206ecac10db9a24200e67762d24166db5;hp=b3b0c628559eb17907539aac57a5e9292f0a6dd5;hpb=1f0b03b38f7d76814d1c7c627f64462362100223;p=nssm.git diff --git a/service.cpp b/service.cpp index b3b0c62..ce3fb92 100644 --- a/service.cpp +++ b/service.cpp @@ -653,8 +653,6 @@ int get_service_description(const TCHAR *service_name, SC_HANDLE service_handle, print_message(stderr, NSSM_MESSAGE_QUERYSERVICECONFIG2_FAILED, service_name, _T("SERVICE_CONFIG_DESCRIPTION"), error_string(error)); return 4; } - - return 0; } int get_service_startup(const TCHAR *service_name, SC_HANDLE service_handle, const QUERY_SERVICE_CONFIG *qsc, unsigned long *startup) { @@ -1982,7 +1980,6 @@ void CALLBACK end_service(void *arg, unsigned char why) { wait_for_hooks(service, false); free_imports(); exit(exitcode); - break; } }