From 5300364dfdb1225afddb8962ce4703927fbe61fc Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 7 Apr 2014 09:25:51 +0400 Subject: [PATCH] services: Remove redundant error code check (Coverity). --- programs/services/services.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/services/services.c b/programs/services/services.c index 37f3d65b835..f6de89d50db 100644 --- a/programs/services/services.c +++ b/programs/services/services.c @@ -718,8 +718,8 @@ static DWORD service_wait_for_startup(struct service_entry *service_entry, HANDL WINE_TRACE("Service started successfully\n"); return ERROR_SUCCESS; } - if (dwCurrentStatus != SERVICE_START_PENDING) - return ERROR_SERVICE_REQUEST_TIMEOUT; + + return ERROR_SERVICE_REQUEST_TIMEOUT; } }