[Xfce4-commits] [xfce/xfce4-panel] 01/03: actions: Fix uninitialized retval warning

noreply at xfce.org noreply at xfce.org
Tue Dec 18 09:39:24 CET 2018


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

a   j   b       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-panel.

commit ff3ee9076014013eee41dee0350d27b9a5ff3c15
Author: Alistair Buxton <a.j.buxton at gmail.com>
Date:   Sat Dec 15 14:34:23 2018 +0000

    actions: Fix uninitialized retval warning
---
 plugins/actions/actions.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/plugins/actions/actions.c b/plugins/actions/actions.c
index 69482e9..8b91c0a 100644
--- a/plugins/actions/actions.c
+++ b/plugins/actions/actions.c
@@ -837,12 +837,12 @@ actions_plugin_action_dbus_xfsm (const gchar  *method,
         }
 
       g_object_unref (G_OBJECT (proxy));
-    }
 
-  if (retval)
-    {
-      g_variant_unref (retval);
-      return TRUE;
+      if (retval)
+        {
+          g_variant_unref (retval);
+          return TRUE;
+        }
     }
 
   return FALSE;

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


More information about the Xfce4-commits mailing list