From 9bf33bab32fdfbe68b287947f55906ff0ac67f04 Mon Sep 17 00:00:00 2001 From: Martin Weber Date: Fri, 8 May 2020 16:45:50 +0200 Subject: [PATCH] test: Fix struct initialization warning --- test/xtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/xtest.c b/test/xtest.c index fc5e43368..d7e6620e6 100644 --- a/test/xtest.c +++ b/test/xtest.c @@ -61,7 +61,7 @@ xtest_init_devices(void) { ScreenRec screen = {0}; ClientRec server_client = {0}; - WindowRec root = {0}; + WindowRec root = {{0}}; WindowOptRec optional = {0}; /* random stuff that needs initialization */