Skip to content

Commit

Permalink
Fixed warning about missing field initializers in SDL_DBusContext
Browse files Browse the repository at this point in the history
Static variables are automatically initialized to zero.
  • Loading branch information
slouken committed Oct 14, 2016
1 parent 824ecc8 commit 3663dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/linux/SDL_dbus.c
Expand Up @@ -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)
Expand Down

0 comments on commit 3663dbe

Please sign in to comment.