Fix spurious warning/error reported by GCC 4.4.0.
authorDmitry Gorbachev <gorbachev@reactos.org>
Mon, 22 Dec 2008 23:46:23 +0000 (23:46 +0000)
committerDmitry Gorbachev <gorbachev@reactos.org>
Mon, 22 Dec 2008 23:46:23 +0000 (23:46 +0000)
svn path=/trunk/; revision=38287

reactos/subsystems/win32/win32k/objects/font.c

index f1c7a1c..1f49571 100644 (file)
@@ -728,6 +728,10 @@ NtGdiHfontCreate(
   PTEXTOBJ TextObj;
   NTSTATUS Status = STATUS_SUCCESS;
 
   PTEXTOBJ TextObj;
   NTSTATUS Status = STATUS_SUCCESS;
 
+  /* Silence GCC warnings */
+  SafeLogfont.elfEnumLogfontEx.elfLogFont.lfEscapement = 0;
+  SafeLogfont.elfEnumLogfontEx.elfLogFont.lfOrientation = 0;
+
   if (!pelfw)
   {
       return NULL;
   if (!pelfw)
   {
       return NULL;