mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-21 20:20:32 +01:00
_dbus_marshal_write_fixed_multi: remove obsolete FIXME comment
As far as I can tell, we've never accepted out-of-range booleans and canonicalized them, ever since this was first committed in 2004. If sent, they'd be considered to be invalid by recipients, so they're unambiguously an error. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35182 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
This commit is contained in:
parent
abdd6adf06
commit
1aa5aaa9e2
1 changed files with 0 additions and 2 deletions
|
|
@ -1065,8 +1065,6 @@ _dbus_marshal_write_fixed_multi (DBusString *str,
|
|||
case DBUS_TYPE_INT16:
|
||||
case DBUS_TYPE_UINT16:
|
||||
return marshal_fixed_multi (str, insert_at, vp, n_elements, byte_order, 2, pos_after);
|
||||
/* FIXME: we canonicalize to 0 or 1 for the single boolean case
|
||||
* should we here too ? */
|
||||
case DBUS_TYPE_BOOLEAN:
|
||||
case DBUS_TYPE_INT32:
|
||||
case DBUS_TYPE_UINT32:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue