DBusMessageIter *target_iter;
DBusMessageIter container_iter;
- type = DBUS_TYPE_INVALID;
+ type2 = DBUS_TYPE_INVALID;
+ secondary_type = DBUS_TYPE_INVALID;
arg = argv[i++];
c = strchr (arg, ':');
}
else if (container_type == DBUS_TYPE_DICT_ENTRY)
{
- append_dict (target_iter, type, secondary_type, c);
+ _dbus_assert (secondary_type != DBUS_TYPE_INVALID);
+ append_dict (target_iter, type2, secondary_type, c);
}
else
- append_arg (target_iter, type, c);
+ append_arg (target_iter, type2, c);
if (container_type != DBUS_TYPE_INVALID)
{