Commit 3663dbe882641a15ae58f2a03bbc11c69f15a9cc

Sam Lantinga 2016-10-14T08:20:40

Fixed warning about missing field initializers in SDL_DBusContext Static variables are automatically initialized to zero.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/core/linux/SDL_dbus.c b/src/core/linux/SDL_dbus.c
index 5d0df05..ab73ca1 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)