From 24a06fef712a98cfe2b409638307d5b349828f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Date: Sun, 3 Mar 2019 19:50:14 +0200 Subject: sna: Use named initializers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Avoid -Wno-missing-field-initializers by using named initializers. Signed-off-by: Ville Syrjälä --- src/sna/sna_display_fake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sna/sna_display_fake.c') diff --git a/src/sna/sna_display_fake.c b/src/sna/sna_display_fake.c index fa26bda1..401e9a06 100644 --- a/src/sna/sna_display_fake.c +++ b/src/sna/sna_display_fake.c @@ -221,7 +221,7 @@ sna_mode_resize(ScrnInfoPtr scrn, int width, int height) } static const xf86CrtcConfigFuncsRec sna_mode_funcs = { - sna_mode_resize + .resize = sna_mode_resize, }; static bool add_fake_output(struct sna *sna, bool late) -- cgit v1.2.3