[libepc] Fix a warning about



commit 65ad9c5a5470bb58298cb67aca0a2c7011c8480d
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon May 18 10:16:57 2009 +0200

    Fix a warning about
    no return value. Bug #583000 (Vincent Untz).
---
 ChangeLog      |    5 +++++
 libepc/shell.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e5705ba..218f900 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-18  Murray Cumming  <murrayc murrayc com>
+
+	* libepc/shell.c (epc_shell_create_service_browser): Fix a warning about 
+	no return value. Bug #583000 (Vincent Untz).
+
 	=== Release 0.3.9 ===
 
 2008-11-10  Cosimo Cecchi  <cosimoc gnome org>
diff --git a/libepc/shell.c b/libepc/shell.c
index 4e5ff8f..80cc201 100644
--- a/libepc/shell.c
+++ b/libepc/shell.c
@@ -368,7 +368,7 @@ epc_shell_create_service_browser (AvahiIfIndex                interface,
   AvahiServiceBrowser *browser = NULL;
 
   if (error && *error)
-    return;
+    return NULL;
 
   if (NULL != client)
     browser = avahi_service_browser_new (client, interface, protocol, type,



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