From da378df9565f7a8e1e086d1676c6742a5ca9d5f4 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 16 Oct 2022 10:51:18 -0700 Subject: =?UTF-8?q?Fix=20warning:=20missing=20initializer=20for=20field=20?= =?UTF-8?q?=E2=80=98extension=E2=80=99=20of=20=E2=80=98SimpleClassPart'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit grid.c:153:3: warning: missing initializer for field ‘extension’ of ‘SimpleClassPart {aka struct }’ [-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 --- grid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } }; -- cgit v1.2.3