summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGiedrius Statkevičius <[email protected]>2015-08-09 15:57:36 +0300
committerGiedrius Statkevičius <[email protected]>2015-08-09 15:57:36 +0300
commit33f89b9f1c7729075637327e2ff29dbb05f55a0a (patch)
treec8c4dc79ef9034e7de16de8a0146b0074a069a5a /src
parent73e6e1fffac402601d82f6db8b4b4378117c49ea (diff)
downloadmate-notification-daemon-33f89b9f1c7729075637327e2ff29dbb05f55a0a.tar.bz2
mate-notification-daemon-33f89b9f1c7729075637327e2ff29dbb05f55a0a.tar.xz
daemon: drop redundant initializer in notify_daemon_error_quark
static variables are already initialized to 0/NULL by default
Diffstat (limited to 'src')
-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 dd05c3f..9185189 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -1382,7 +1382,7 @@ static void sync_notification_position(NotifyDaemon* daemon, GtkWindow* nw, Wind
GQuark notify_daemon_error_quark(void)
{
- static GQuark q = 0;
+ static GQuark q;
if (q == 0)
{