Don't use uninitialized var
Modified: trunk/reactos/subsys/win32k/ntuser/accelerator.c
_____
Modified: trunk/reactos/subsys/win32k/ntuser/accelerator.c
--- trunk/reactos/subsys/win32k/ntuser/accelerator.c 2005-09-23
09:02:16 UTC (rev 18006)
+++ trunk/reactos/subsys/win32k/ntuser/accelerator.c 2005-09-23
09:17:38 UTC (rev 18007)
@@ -359,7 +359,7 @@
if (Accel->Table == NULL)
{
ObmDeleteObject(hAccel, otAccel);
- SetLastNtError(Status);
+ SetLastNtError(STATUS_NO_MEMORY);
RETURN( (HACCEL) 0);
}