Fixed warning about missing field initializers in SDL_DBusContext
authorSam Lantinga <slouken@libsdl.org>
Fri, 14 Oct 2016 08:20:40 -0700
changeset 10536a6fa3f38672c
parent 10535 6fa4430b1f84
child 10537 dd84646065e6
Fixed warning about missing field initializers in SDL_DBusContext
Static variables are automatically initialized to zero.
src/core/linux/SDL_dbus.c
     1.1 --- a/src/core/linux/SDL_dbus.c	Fri Oct 14 08:15:39 2016 -0700
     1.2 +++ b/src/core/linux/SDL_dbus.c	Fri Oct 14 08:20:40 2016 -0700
     1.3 @@ -27,7 +27,7 @@
     1.4  static const char *dbus_library = "libdbus-1.so.3";
     1.5  static void *dbus_handle = NULL;
     1.6  static unsigned int screensaver_cookie = 0;
     1.7 -static SDL_DBusContext dbus = {0};
     1.8 +static SDL_DBusContext dbus;
     1.9  
    1.10  static int
    1.11  LoadDBUSSyms(void)