From d7357711081b449a06f1bb48e09cf22b98b4d949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Fri, 23 Sep 2005 09:17:38 +0000 Subject: [PATCH] Don't use uninitialized var svn path=/trunk/; revision=18007 --- reactos/subsys/win32k/ntuser/accelerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsys/win32k/ntuser/accelerator.c b/reactos/subsys/win32k/ntuser/accelerator.c index 138a135f25a..32f3d44cda7 100644 --- a/reactos/subsys/win32k/ntuser/accelerator.c +++ b/reactos/subsys/win32k/ntuser/accelerator.c @@ -359,7 +359,7 @@ NtUserCreateAcceleratorTable( if (Accel->Table == NULL) { ObmDeleteObject(hAccel, otAccel); - SetLastNtError(Status); + SetLastNtError(STATUS_NO_MEMORY); RETURN( (HACCEL) 0); }