https://git.reactos.org/?p=reactos.git;a=commitdiff;h=204626f793ad0f27064a0…
commit 204626f793ad0f27064a0e7a1422a9795875384c
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Mon Jul 19 08:55:09 2021 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Tue Jul 27 14:44:14 2021 +0200
[WIN32K] Fix uninitialized variable
---
win32ss/user/ntuser/keyboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/user/ntuser/keyboard.c b/win32ss/user/ntuser/keyboard.c
index b4ff7805b86..61a30b6a0e9 100644
--- a/win32ss/user/ntuser/keyboard.c
+++ b/win32ss/user/ntuser/keyboard.c
@@ -1341,7 +1341,7 @@ NtUserToUnicodeEx(
PWCHAR pwszBuff = NULL;
INT i, iRet = 0;
PKL pKl = NULL;
- NTSTATUS Status;
+ NTSTATUS Status = STATUS_SUCCESS;
TRACE("Enter NtUserSetKeyboardState\n");