From: Havoc Pennington Date: Thu, 30 Dec 2004 22:44:44 +0000 (+0000) Subject: remove unused element_type_len field X-Git-Tag: dbus-0.23~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9836ac48fb015c610bc99b3f456662ecc3af7bca;p=platform%2Fupstream%2Fdbus.git remove unused element_type_len field --- diff --git a/dbus/dbus-marshal-recursive.c b/dbus/dbus-marshal-recursive.c index 64459d8..dd1d652 100644 --- a/dbus/dbus-marshal-recursive.c +++ b/dbus/dbus-marshal-recursive.c @@ -798,7 +798,6 @@ _dbus_type_writer_recurse_array (DBusTypeWriter *writer, * should be the expected type for further writes */ sub->u.array.element_type_pos = sub->type_pos; - sub->u.array.element_type_len = element_type_len; if (!writer->type_pos_is_expectation) { diff --git a/dbus/dbus-marshal-recursive.h b/dbus/dbus-marshal-recursive.h index 679dad3..e3769ad 100644 --- a/dbus/dbus-marshal-recursive.h +++ b/dbus/dbus-marshal-recursive.h @@ -74,8 +74,7 @@ struct DBusTypeWriter struct { int start_pos; /* first element */ int len_pos; - int element_type_pos; /* position in type_str of array element type */ - int element_type_len; + int element_type_pos; /* position of array element type in type_str */ } array; } u; };