Commit 072cdf11 authored by Ralf Habacker's avatar Ralf Habacker

dbus_internal_do_not_use_try_message_data: Calling...

dbus_internal_do_not_use_try_message_data: Calling _dbus_message_loader_get_max_message_size(loader) is only useful for its return value, which is ignored (CID 54725).

Reported by Coverity: CID 54725: Useless call (USELESS_CALL)

parent 0621b579
......@@ -483,7 +483,6 @@ dbus_internal_do_not_use_try_message_data (const DBusString *data,
/* check some trivial loader functions */
_dbus_message_loader_ref (loader);
_dbus_message_loader_unref (loader);
_dbus_message_loader_get_max_message_size (loader);
len = _dbus_string_get_length (data);
for (i = 0; i < len; i++)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment