remove unused element_type_len field

This commit is contained in:
Havoc Pennington 2004-12-30 22:44:44 +00:00
parent daaee020dc
commit 9836ac48fb
2 changed files with 1 additions and 3 deletions

View 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)
{

View 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;
};