From 651090b3e564603b87fbfde21875a3e3aedf2820 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 29 Dec 2012 21:24:26 -0800 Subject: [PATCH] obexd: The function g_dbus_pending_property_error has no return value --- obexd/client/map.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/obexd/client/map.c b/obexd/client/map.c index 319d60e4c..df2b0bf6b 100644 --- a/obexd/client/map.c +++ b/obexd/client/map.c @@ -574,10 +574,12 @@ static void set_status(const GDBusPropertyTable *property, GObexApparam *apparam; char contents[2]; - if (dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_BOOLEAN) - return g_dbus_pending_property_error(id, + if (dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_BOOLEAN) { + g_dbus_pending_property_error(id, ERROR_INTERFACE ".InvalidArguments", "Invalid arguments in method call"); + return; + } dbus_message_iter_get_basic(iter, &value); -- 2.47.3