_dbus_message_set_signature: Delete unused function
authorSimon McVittie <smcv@collabora.com>
Mon, 3 Jul 2017 18:09:45 +0000 (19:09 +0100)
committerSimon McVittie <smcv@collabora.com>
Tue, 4 Jul 2017 16:06:01 +0000 (17:06 +0100)
commitc507fb01c0e7f58bc016c182279cafddaad50e21
treee42abd5fb3eff3721b69e7537e179479495b911d
parent5b88e86622a7772a43f6be2c4f52ac8bc3f9b3fa
_dbus_message_set_signature: Delete unused function

If this is reinstated it will need some checks. In particular, it
was using _dbus_check_is_valid_signature() in an unsafe way:
_dbus_check_is_valid_signature() cannot be used in a
_dbus_return_val_if_fail() check because it does not distinguish
between error by the caller, and out-of-memory conditions.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101568
dbus/dbus-message.c