[Xfce4-commits] [xfce/xfce4-power-manager] 01/02: Fix coverity cid 107695 Uninitialized scalar variable

noreply at xfce.org noreply at xfce.org
Wed Apr 1 18:56:26 CEST 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit 403fddcdc222bc7fd536606c2f684dfea8b1d452
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Wed Apr 1 19:43:53 2015 +0300

    Fix coverity cid 107695 Uninitialized scalar variable
---
 libdbus/xfpm-dbus.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libdbus/xfpm-dbus.c b/libdbus/xfpm-dbus.c
index f89410d..e7c411f 100644
--- a/libdbus/xfpm-dbus.c
+++ b/libdbus/xfpm-dbus.c
@@ -59,7 +59,7 @@ xfpm_dbus_name_has_owner (GDBusConnection *connection, const gchar *name)
 gboolean xfpm_dbus_register_name(GDBusConnection *connection, const gchar *name)
 {
     GError *error = NULL;
-    guint32 ret;
+    guint32 ret = 0;
     GVariant *var;
     
     var = g_dbus_connection_call_sync (connection,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list