summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-15 10:45:15 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-15 11:25:32 -0700
commit691a763dafc81db145a951d3151e7f050c2fb342 (patch)
treea64c2d2ab5b79d16b1a02da97ec0044bb1f43279
parente379927b2d1e24d4c637fe4161dbf3f2fd98e02b (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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Logo.c b/Logo.c
index da5d7ae..394903d 100644
--- a/Logo.c
+++ b/Logo.c
@@ -111,7 +111,8 @@ LogoClassRec logoClassRec = {
/* extension */ NULL
},
{ /* simple fields */
- /* change_sensitive */ XtInheritChangeSensitive
+ /* change_sensitive */ XtInheritChangeSensitive,
+ /* extension */ NULL
},
{ /* logo fields */
/* ignore */ 0