[Xfce4-commits] <xfce4-settings:xfce-4.8> Remove unused set variable.

Nick Schermer noreply at xfce.org
Tue May 17 20:50:02 CEST 2011


Updating branch refs/heads/xfce-4.8
         to 645ad96fbf0dfa92928eb32fcec29824747e3677 (commit)
       from 6fbd1d29fcefb288ec49da1704c72ae86b06b271 (commit)

commit 645ad96fbf0dfa92928eb32fcec29824747e3677
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Fri Apr 22 12:23:28 2011 +0200

    Remove unused set variable.
    
    This fixes build with --enable-debug=full and gcc 4.6.
    
    (cherry picked from commit c0f9d7b42974ea0c6642b99e079d45e1cd43d01e)

 xfce4-settings-editor/main_window.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/xfce4-settings-editor/main_window.c b/xfce4-settings-editor/main_window.c
index 5d659c7..d80f14c 100644
--- a/xfce4-settings-editor/main_window.c
+++ b/xfce4-settings-editor/main_window.c
@@ -326,7 +326,6 @@ load_properties (XfconfChannel *channel, GtkTreeStore *store, GtkTreeView *treev
 {
     gint i = 0;
     gchar *key;
-    GValue *value;
     GList *keys, *_keys;
     GtkTreeIter parent_iter;
     GtkTreeIter child_iter;
@@ -349,7 +348,6 @@ load_properties (XfconfChannel *channel, GtkTreeStore *store, GtkTreeView *treev
         {
             key = _keys->data;
             TRACE ("Key: %s", key);
-            value = g_hash_table_lookup (hash_table, key);
             components = g_strsplit (key, "/", 0);
 
             /* components[0] will be empty because properties start with '/'*/



More information about the Xfce4-commits mailing list