summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiedrius Statkevičius <[email protected]>2015-08-09 10:56:41 +0300
committerGiedrius Statkevičius <[email protected]>2015-08-09 10:56:41 +0300
commit73e6e1fffac402601d82f6db8b4b4378117c49ea (patch)
treefc34ef6f16bab0ec2ae9cdf0b42a720371009759
parent1e438468aa59f88145aa9e88ac0546bfb815dc47 (diff)
downloadmate-notification-daemon-73e6e1fffac402601d82f6db8b4b4378117c49ea.tar.bz2
mate-notification-daemon-73e6e1fffac402601d82f6db8b4b4378117c49ea.tar.xz
daemon: remove redundant initialization
static variables are already initialised to 0/NULL by default
-rw-r--r--src/daemon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 61632b0..dd05c3f 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -121,7 +121,7 @@ typedef struct {
NotifyDaemon* daemon;
} _NotifyPendingClose;
-static DBusConnection* dbus_conn = NULL;
+static DBusConnection* dbus_conn;
static void notify_daemon_finalize(GObject* object);
static void _notification_destroyed_cb(GtkWindow* nw, NotifyDaemon* daemon);