From d5c4bfd29c8bf702d79a4f42710a05e8a2f63adb Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 10 May 2011 11:15:32 +0100 Subject: [PATCH 4/6] marshal_collection_array: remove set-but-unused variable elt_size gcc 4.6 warns about these. --- dbus/dbus-gvalue.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/dbus/dbus-gvalue.c b/dbus/dbus-gvalue.c index dcbd2d2..2c2b59a 100644 --- a/dbus/dbus-gvalue.c +++ b/dbus/dbus-gvalue.c @@ -1934,7 +1934,6 @@ marshal_collection_array (DBusMessageIter *iter, GType elt_gtype; DBusMessageIter subiter; GArray *array; - guint elt_size; char *subsignature_str; array = g_value_get_boxed (value); @@ -1949,8 +1948,6 @@ marshal_collection_array (DBusMessageIter *iter, return FALSE; } g_assert (g_variant_is_signature (subsignature_str)); - - elt_size = _dbus_g_type_fixed_get_size (elt_gtype); if (!dbus_message_iter_open_container (iter, DBUS_TYPE_ARRAY, -- 1.7.5.1