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

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


Updating branch refs/heads/xfce-4.8
         to 8359af4bf58080ad5f35d8adbc7dda2766d0544a (commit)
       from 7d26aec0500ceac93bb9dbf150381375554a5a17 (commit)

commit 8359af4bf58080ad5f35d8adbc7dda2766d0544a
Author: Nick Schermer <nick at xfce.org>
Date:   Tue May 17 20:40:05 2011 +0200

    Remove unused variable.

 xfsettingsd/registry.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/xfsettingsd/registry.c b/xfsettingsd/registry.c
index e2f58e9..f617698 100644
--- a/xfsettingsd/registry.c
+++ b/xfsettingsd/registry.c
@@ -344,13 +344,11 @@ static void
 remove_property (GString *props, const gchar *key)
 {
     gchar *needle;
-    gsize needle_len;
     gchar *found = NULL;
     gchar *end;
 
     /* search for the property */
     needle = g_strconcat (key, ":", NULL);
-    needle_len = strlen (needle);
     if (g_str_has_prefix (props->str, needle))
         found = props->str;
     else



More information about the Xfce4-commits mailing list