[json-glib] Fix compiler warnings (remove unused variables)



commit 8e550ac4dbb5500a40c7adad88868ede40397db7
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Oct 27 17:41:38 2009 +0000

    Fix compiler warnings (remove unused variables)

 json-glib/json-gobject.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/json-glib/json-gobject.c b/json-glib/json-gobject.c
index f10b6a3..2fc1b26 100644
--- a/json-glib/json-gobject.c
+++ b/json-glib/json-gobject.c
@@ -192,7 +192,7 @@ json_gobject_new (GType       gtype,
   GObjectClass *klass;
   GObject *retval;
   GArray *construct_params;
-  gint n, i;
+  gint i;
 
   klass = g_type_class_ref (gtype);
 
@@ -216,7 +216,6 @@ json_gobject_new (GType       gtype,
       GParamSpec *pspec;
       GParameter param = { NULL, };
       JsonNode *val;
-      GValue value = { 0, };
       gboolean res = FALSE;
 
       pspec = g_object_class_find_property (klass, member_name);



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