summaryrefslogtreecommitdiff
path: root/json-glib/json-gobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-gobject.c')
-rw-r--r--json-glib/json-gobject.c3
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);