diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c index d5a2c31fe80..da2b81f163a 100644 --- a/dlls/advapi32/service.c +++ b/dlls/advapi32/service.c @@ -383,16 +383,8 @@ static DWORD WINAPI service_thread(LPVOID arg) len += strlenW(&str[len]) + 1; argc++; } + len++; - if (!argc) - { - if (info->unicode) - info->proc.w(0, NULL); - else - info->proc.a(0, NULL); - return 0; - } - if (info->unicode) { LPWSTR *argv, p;