Fix spurious warning/error reported by GCC 4.4.0.

svn path=/trunk/; revision=38287
This commit is contained in:
Dmitry Gorbachev 2008-12-22 23:46:23 +00:00
parent 95e0371f4f
commit d284aa7851

View file

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