summaryrefslogtreecommitdiff
path: root/libdbus
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2015-04-01 19:45:23 +0300
committerEric Koegel <eric.koegel@gmail.com>2015-04-01 19:46:24 +0300
commit9d86417e6c67c23555700357519e37ac252c331a (patch)
tree25f9940bde96180ad86aedb6a204a8a00556510a /libdbus
parent403fddcdc222bc7fd536606c2f684dfea8b1d452 (diff)
downloadixfce4-power-manager-9d86417e6c67c23555700357519e37ac252c331a.tar.gz
Fix coverity cid 107694 Uninitialized pointer read
Diffstat (limited to 'libdbus')
-rw-r--r--libdbus/xfpm-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbus/xfpm-dbus.c b/libdbus/xfpm-dbus.c
index e7c411f8..6a418945 100644
--- a/libdbus/xfpm-dbus.c
+++ b/libdbus/xfpm-dbus.c
@@ -24,7 +24,7 @@ gboolean
xfpm_dbus_name_has_owner (GDBusConnection *connection, const gchar *name)
{
GError *error = NULL;
- const gchar *owner;
+ const gchar *owner = NULL;
gboolean ret;
GVariant *var;