From eacb2afdc2903874f5dfde80b4ee338ea333c75e Mon Sep 17 00:00:00 2001 From: Olivier Andrieu Date: Sun, 21 Mar 2004 13:42:23 +0000 Subject: * dbus/dbus-marshal.c (_dbus_marshal_validate_arg): accept empty arrays * dbus/dbus-message.h, bus/dbus-message.c (dbus_message_iter_init) (dbus_message_iter_init_array_iterator) (dbus_message_iter_init_dict_iterator): return a dbus_bool_t to indicate whether the iterator is empty * dbus/dbus-pending-call.c, dbus/dbus-server.c: silence compiler warnings --- dbus/dbus-pending-call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbus/dbus-pending-call.c') diff --git a/dbus/dbus-pending-call.c b/dbus/dbus-pending-call.c index e7173490..5ea62c59 100644 --- a/dbus/dbus-pending-call.c +++ b/dbus/dbus-pending-call.c @@ -143,7 +143,7 @@ _dbus_pending_call_notify (DBusPendingCall *pending) DBusPendingCall * dbus_pending_call_ref (DBusPendingCall *pending) { - _dbus_return_if_fail (pending != NULL); + _dbus_return_val_if_fail (pending != NULL, NULL); _dbus_atomic_inc (&pending->refcount); -- cgit