projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix spurious warning/error reported by GCC 4.4.0.
[reactos.git]
/
reactos
/
subsystems
/
win32
/
win32k
/
objects
/
font.c
diff --git
a/reactos/subsystems/win32/win32k/objects/font.c
b/reactos/subsystems/win32/win32k/objects/font.c
index
f1c7a1c
..
1f49571
100644
(file)
--- a/
reactos/subsystems/win32/win32k/objects/font.c
+++ b/
reactos/subsystems/win32/win32k/objects/font.c
@@
-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;