diff options
author | Havoc Pennington <hp@redhat.com> | 2004-12-30 22:44:44 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2004-12-30 22:44:44 +0000 |
commit | 9836ac48fb015c610bc99b3f456662ecc3af7bca (patch) | |
tree | 393fadb6a049ca3a9879681218fffaaeab7e32ad | |
parent | daaee020dc47f7da7e2b29f130166cfa3a4acf32 (diff) |
remove unused element_type_len field
-rw-r--r-- | dbus/dbus-marshal-recursive.c | 1 | ||||
-rw-r--r-- | dbus/dbus-marshal-recursive.h | 3 |
2 files changed, 1 insertions, 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; }; |