[Xfce4-commits] [xfce/xfdesktop] 02/04: fix coverity cid 1432967 Evaluation order violation

noreply at xfce.org noreply at xfce.org
Thu May 4 14:16:24 CEST 2017


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

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit cc0cda0ea88e41f759dd7c0908c91faf8f357e68
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Thu May 4 15:12:10 2017 +0300

    fix coverity cid 1432967 Evaluation order violation
---
 common/xfdesktop-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/xfdesktop-common.c b/common/xfdesktop-common.c
index 0e06ccd..2f8d80a 100644
--- a/common/xfdesktop-common.c
+++ b/common/xfdesktop-common.c
@@ -251,7 +251,7 @@ GtkWidget*
 xfdesktop_menu_create_menu_item_with_mnemonic(const gchar *name,
                                               GtkWidget   *image)
 {
-    GtkWidget *label = label = gtk_label_new_with_mnemonic(name);
+    GtkWidget *label = gtk_label_new_with_mnemonic(name);
 
     return create_menu_item(label, image);
 }

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


More information about the Xfce4-commits mailing list