From 535f1a1be9a7e94cb8ec33877903f814f85242ca Mon Sep 17 00:00:00 2001 From: Patrick Welche Date: Fri, 29 Jun 2012 18:07:23 +0100 Subject: [PATCH] Consistently return a value - from joerg@netbsd.org --- registryd/deviceeventcontroller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c index 62dc732..61ab91d 100644 --- a/registryd/deviceeventcontroller.c +++ b/registryd/deviceeventcontroller.c @@ -1225,11 +1225,11 @@ send_and_allow_reentry (DBusConnection *bus, DBusMessage *message, int timeout, "org.freedesktop.DBus.Peer", "Ping"); if (!message) - return; + return NULL; dbus_connection_send_with_reply (bus, message, &pending, -1); dbus_message_unref (message); if (!pending) - return; + return NULL; bus_name_dup = g_strdup (dest); dbus_pending_call_set_notify (pending, reset_hung_process_from_ping, bus_name_dup, NULL); -- 2.7.4