From faa938e9dc8a50a9852a0075f2a1ca0b2be7f89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 30 Mar 2019 22:32:41 +0100 Subject: [PATCH] [USERENV] Initialize variable before using it --- dll/win32/userenv/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/userenv/profile.c b/dll/win32/userenv/profile.c index 6c9d29ee266..6e829527b22 100644 --- a/dll/win32/userenv/profile.c +++ b/dll/win32/userenv/profile.c @@ -357,7 +357,7 @@ CheckForGuestsAndAdmins( PTOKEN_GROUPS pGroupInfo = NULL; PSID pAdministratorsSID = NULL; PSID pGuestsSID = NULL; - DWORD i, dwSize; + DWORD i, dwSize = 0; DWORD dwError = ERROR_SUCCESS; DPRINT("CheckForGuestsAndAdmins(%p %p)\n", hToken, pdwState);