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

Jérôme Guelfucci noreply at xfce.org
Fri Apr 22 16:28:02 CEST 2011


Updating branch refs/heads/master
         to c0f9d7b42974ea0c6642b99e079d45e1cd43d01e (commit)
       from 41d9cd32cb86edaea37fa3259eeb84258b37724a (commit)

commit c0f9d7b42974ea0c6642b99e079d45e1cd43d01e
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.

 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 34c51c5..44699a7 100644
--- a/xfce4-settings-editor/main_window.c
+++ b/xfce4-settings-editor/main_window.c
@@ -330,7 +330,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;
@@ -353,7 +352,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