diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-10-15 10:45:15 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-10-15 11:25:32 -0700 |
commit | 691a763dafc81db145a951d3151e7f050c2fb342 (patch) | |
tree | a64c2d2ab5b79d16b1a02da97ec0044bb1f43279 | |
parent | e379927b2d1e24d4c637fe4161dbf3f2fd98e02b (diff) |
Fix -Wmissing-field-initializers warning
Logo.c:115:5: warning: missing initializer for field ‘extension’ of ‘SimpleClassPart {aka struct <anonymous>}’ [-Wmissing-field-initializers]
},
^
In file included from LogoP.h:33:0,
from Logo.c:35:
/usr/include/X11/Xaw/SimpleP.h:62:15: note: ‘extension’ declared here
XtPointer extension;
^~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | Logo.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -111,7 +111,8 @@ LogoClassRec logoClassRec = { /* extension */ NULL }, { /* simple fields */ - /* change_sensitive */ XtInheritChangeSensitive + /* change_sensitive */ XtInheritChangeSensitive, + /* extension */ NULL }, { /* logo fields */ /* ignore */ 0 |