[at-spi2-core] Consistently return a value - from joerg netbsd org



commit 535f1a1be9a7e94cb8ec33877903f814f85242ca
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Fri Jun 29 18:07:23 2012 +0100

    Consistently return a value - from joerg netbsd org

 registryd/deviceeventcontroller.c |    4 ++--
 1 files 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]