pidgin: 56ec802a: Fix this compile warning:

markdoliner at pidgin.im markdoliner at pidgin.im
Thu Aug 11 02:40:52 EDT 2011


----------------------------------------------------------------------
Revision: 56ec802a4201a596a1bf852cae8f08819ca6bedc
Parent:   bb53d1e9201138b79a1eef0d4a7cda1fc852c59f
Author:   markdoliner at pidgin.im
Date:     08/07/11 23:52:25
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/56ec802a4201a596a1bf852cae8f08819ca6bedc

Changelog: 

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

Changes against parent bb53d1e9201138b79a1eef0d4a7cda1fc852c59f

  patched  libpurple/protocols/sametime/sametime.c

-------------- next part --------------
============================================================
--- libpurple/protocols/sametime/sametime.c	33822caf2de1a45d3bd9e98d73578e1143fdf455
+++ libpurple/protocols/sametime/sametime.c	c45c7abf4f92ff58a7ebb2abb80d755cf4f4edbf
@@ -924,7 +924,7 @@ static PurpleGroup *group_ensure(PurpleC
 
   if (!name) {
     DEBUG_WARN("Can't ensure a null group\n");
-    return;
+    return NULL;
   }
 
   DEBUG_INFO("attempting to ensure group %s, called %s\n",


More information about the Commits mailing list