diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-10-27 17:41:38 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-10-27 17:41:38 +0000 |
commit | 8e550ac4dbb5500a40c7adad88868ede40397db7 (patch) | |
tree | 4df682ec0001e5996d52534ef6240a6facf97959 /json-glib/json-gobject.c | |
parent | 3b994a52d9c34f67e4ac52aa4bb0c380789fbd60 (diff) | |
download | json-glib-8e550ac4dbb5500a40c7adad88868ede40397db7.tar.gz |
Fix compiler warnings (remove unused variables)
Diffstat (limited to 'json-glib/json-gobject.c')
-rw-r--r-- | 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); |