[WIN32K]
authorJérôme Gardou <jerome.gardou@reactos.org>
Mon, 29 Mar 2010 21:53:24 +0000 (21:53 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Mon, 29 Mar 2010 21:53:24 +0000 (21:53 +0000)
DC_SetOwnerShip : return FALSE on failure

svn path=/branches/reactos-yarotows/; revision=46575

subsystems/win32/win32k/objects/dclife.c

index 84ce911..0dd4950 100644 (file)
@@ -386,7 +386,7 @@ DC_SetOwnership(HDC hDC, PEPROCESS Owner)
     INT Index;
     PGDI_TABLE_ENTRY Entry;
     PDC pDC;
-    BOOL ret;
+    BOOL ret = FALSE;
 
     /* FIXME: This function has broken error handling */