From 62d4ba3c6c33c1f9d691f2f434fff7694d6052e4 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 4 May 2011 15:18:18 +0100 Subject: [PATCH 2/6] demarshal_static_variant: remove useless call to dbus_message_iter_get_arg_type gcc 4.6 warns about this. --- dbus/dbus-gvalue.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/dbus/dbus-gvalue.c b/dbus/dbus-gvalue.c index 014e957..323d731 100644 --- a/dbus/dbus-gvalue.c +++ b/dbus/dbus-gvalue.c @@ -641,11 +641,9 @@ demarshal_static_variant (DBusGValueMarshalCtx *context, GError **error) { char *sig; - int current_type; DBusMessageIter subiter; GType variant_type; - current_type = dbus_message_iter_get_arg_type (iter); dbus_message_iter_recurse (iter, &subiter); sig = dbus_message_iter_get_signature (&subiter); -- 1.7.5.1