From 9836ac48fb015c610bc99b3f456662ecc3af7bca Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 30 Dec 2004 22:44:44 +0000 Subject: remove unused element_type_len field --- dbus/dbus-marshal-recursive.c | 1 - dbus/dbus-marshal-recursive.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dbus/dbus-marshal-recursive.c b/dbus/dbus-marshal-recursive.c index 64459d87..dd1d6526 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 679dad3c..e3769ade 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; }; -- cgit