From 691a763dafc81db145a951d3151e7f050c2fb342 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 15 Oct 2022 10:45:15 -0700 Subject: Fix -Wmissing-field-initializers warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Logo.c:115:5: warning: missing initializer for field ‘extension’ of ‘SimpleClassPart {aka struct }’ [-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 --- Logo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Logo.c') 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 -- cgit v1.2.3