From 3663dbe882641a15ae58f2a03bbc11c69f15a9cc Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 14 Oct 2016 08:20:40 -0700 Subject: [PATCH] Fixed warning about missing field initializers in SDL_DBusContext Static variables are automatically initialized to zero. --- src/core/linux/SDL_dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/linux/SDL_dbus.c b/src/core/linux/SDL_dbus.c index 5d0df050c..ab73ca17c 100644 --- a/src/core/linux/SDL_dbus.c +++ b/src/core/linux/SDL_dbus.c @@ -27,7 +27,7 @@ static const char *dbus_library = "libdbus-1.so.3"; static void *dbus_handle = NULL; static unsigned int screensaver_cookie = 0; -static SDL_DBusContext dbus = {0}; +static SDL_DBusContext dbus; static int LoadDBUSSyms(void)