Author: akhaldi
Date: Fri Oct 11 13:15:20 2013
New Revision: 60609
URL:
http://svn.reactos.org/svn/reactos?rev=60609&view=rev
Log:
[NTOSKRNL]
* Fix logically dead code block. CID 731331.
CORE-6681
Modified:
trunk/reactos/ntoskrnl/ex/win32k.c
Modified: trunk/reactos/ntoskrnl/ex/win32k.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/win32k.c?rev=6…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/win32k.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/win32k.c [iso-8859-1] Fri Oct 11 13:15:20 2013
@@ -211,10 +211,10 @@
ObjectTypeInitializer.OkayToCloseProcedure = ExpDesktopOkToClose;
ObjectTypeInitializer.OpenProcedure = ExpDesktopOpen;
ObjectTypeInitializer.CloseProcedure = ExpDesktopClose;
- ObCreateObjectType(&Name,
- &ObjectTypeInitializer,
- NULL,
- &ExDesktopObjectType);
+ Status = ObCreateObjectType(&Name,
+ &ObjectTypeInitializer,
+ NULL,
+ &ExDesktopObjectType);
if (!NT_SUCCESS(Status)) return FALSE;
return TRUE;