remove unused element_type_len field
authorHavoc Pennington <hp@redhat.com>
Thu, 30 Dec 2004 22:44:44 +0000 (22:44 +0000)
committerHavoc Pennington <hp@redhat.com>
Thu, 30 Dec 2004 22:44:44 +0000 (22:44 +0000)
dbus/dbus-marshal-recursive.c
dbus/dbus-marshal-recursive.h

index 64459d8..dd1d652 100644 (file)
@@ -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)
     {
index 679dad3..e3769ad 100644 (file)
@@ -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;
 };