summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-16 10:51:18 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-16 10:51:18 -0700
commitda378df9565f7a8e1e086d1676c6742a5ca9d5f4 (patch)
treeccac38afd1a770e150fb7a50eae4896774c625bf
parentd946324dae78f15ffe63f1e129eb4cb35a7116b8 (diff)
Fix warning: missing initializer for field ‘extension’ of ‘SimpleClassPart'
grid.c:153:3: warning: missing initializer for field ‘extension’ of ‘SimpleClassPart {aka struct <anonymous>}’ [-Wmissing-field-initializers] } ^ In file included from grid.c:34:0: /net/also.us.oracle.com/export/alanc/X.Org/amd64-gcc/install/usr/X11R7/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--grid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/grid.c b/grid.c
index 56bd807..f844d37 100644
--- a/grid.c
+++ b/grid.c
@@ -149,7 +149,8 @@ FontGridClassRec fontgridClassRec = {
/* extension */ NULL
},
{ /* simple fields */
- /* change_sensitive */ XtInheritChangeSensitive
+ /* change_sensitive */ XtInheritChangeSensitive,
+ /* extension */ NULL
}
};