Commit 5300364d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

services: Remove redundant error code check (Coverity).

parent 6ed7d9dd
...@@ -718,8 +718,8 @@ static DWORD service_wait_for_startup(struct service_entry *service_entry, HANDL ...@@ -718,8 +718,8 @@ static DWORD service_wait_for_startup(struct service_entry *service_entry, HANDL
WINE_TRACE("Service started successfully\n"); WINE_TRACE("Service started successfully\n");
return ERROR_SUCCESS; return ERROR_SUCCESS;
} }
if (dwCurrentStatus != SERVICE_START_PENDING)
return ERROR_SERVICE_REQUEST_TIMEOUT; return ERROR_SERVICE_REQUEST_TIMEOUT;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment