diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-10-16 10:51:18 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-10-16 10:51:18 -0700 |
commit | da378df9565f7a8e1e086d1676c6742a5ca9d5f4 (patch) | |
tree | ccac38afd1a770e150fb7a50eae4896774c625bf | |
parent | d946324dae78f15ffe63f1e129eb4cb35a7116b8 (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -149,7 +149,8 @@ FontGridClassRec fontgridClassRec = { /* extension */ NULL }, { /* simple fields */ - /* change_sensitive */ XtInheritChangeSensitive + /* change_sensitive */ XtInheritChangeSensitive, + /* extension */ NULL } }; |