[dconf] Remove unused 'length' variable.



commit 4f050332838d37a5e78753f3268ca2dedd024b9c
Author: Ryan Lortie <desrt desrt ca>
Date:   Tue Jan 25 18:17:58 2011 -0500

    Remove unused 'length' variable.
    
    Closes #640566.

 gsettings/dconfsettingsbackend.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gsettings/dconfsettingsbackend.c b/gsettings/dconfsettingsbackend.c
index bbd3c32..abba2a1 100644
--- a/gsettings/dconfsettingsbackend.c
+++ b/gsettings/dconfsettingsbackend.c
@@ -487,9 +487,7 @@ outstanding_watch_new (DConfSettingsBackend *dcsb,
                        const gchar          *name)
 {
   OutstandingWatch *watch;
-  gsize length;
 
-  length = strlen (name);
   watch = g_slice_new (OutstandingWatch);
   watch->dcsb = g_object_ref (dcsb);
   watch->state = dconf_engine_get_state (dcsb->engine);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]