From fbc236107df4755c3af0fdcf89ad26041e5e399c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 16 Apr 2008 08:41:54 +0200 Subject: [PATCH] advapi32: Initialize hLock. --- dlls/advapi32/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c index dc44e6f6adf..f9115c23ac6 100644 --- a/dlls/advapi32/service.c +++ b/dlls/advapi32/service.c @@ -669,7 +669,7 @@ BOOL WINAPI StartServiceCtrlDispatcherW( const SERVICE_TABLE_ENTRYW *servent ) SC_LOCK WINAPI LockServiceDatabase (SC_HANDLE hSCManager) { struct sc_manager *hscm; - SC_RPC_LOCK hLock; + SC_RPC_LOCK hLock = NULL; DWORD err; TRACE("%p\n",hSCManager); -- 2.11.4.GIT