changeset 31766:4151dad5bd00

Fix this compile warning: sametime.c: In function 'group_ensure': sametime.c:927:5: warning: 'return' with no value, in function returning non-void This started happening in revision f0591ed5820261562bb9d8f49c75d08e3b334bfa
author Mark Doliner <mark@kingant.net>
date Mon, 08 Aug 2011 03:52:25 +0000
parents f33200f71cc3
children 257b01353334
files libpurple/protocols/sametime/sametime.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/sametime/sametime.c	Sun Aug 07 02:10:04 2011 +0000
+++ b/libpurple/protocols/sametime/sametime.c	Mon Aug 08 03:52:25 2011 +0000
@@ -924,7 +924,7 @@
 
   if (!name) {
     DEBUG_WARN("Can't ensure a null group\n");
-    return;
+    return NULL;
   }
 
   DEBUG_INFO("attempting to ensure group %s, called %s\n",