Prevent warning in optimized builds
authorGé van Geldorp <ge@gse.nl>
Tue, 5 Jul 2005 17:10:19 +0000 (17:10 +0000)
committerGé van Geldorp <ge@gse.nl>
Tue, 5 Jul 2005 17:10:19 +0000 (17:10 +0000)
svn path=/trunk/; revision=16431

reactos/lib/gdi32/objects/dc.c

index 51f22e4..f8f18e4 100644 (file)
@@ -147,7 +147,7 @@ CreateICA(
   NTSTATUS Status;
   LPWSTR lpszDriverW, lpszDeviceW, lpszOutputW;
   UNICODE_STRING Driver, Device, Output;
   NTSTATUS Status;
   LPWSTR lpszDriverW, lpszDeviceW, lpszOutputW;
   UNICODE_STRING Driver, Device, Output;
-  LPDEVMODEW dvmInitW;
+  LPDEVMODEW dvmInitW = NULL;
   HDC rc = 0;
 
   Status = HEAP_strdupA2W ( &lpszDriverW, lpszDriver );
   HDC rc = 0;
 
   Status = HEAP_strdupA2W ( &lpszDriverW, lpszDriver );