Mercurial > pidgin
comparison libpurple/protocols/sametime/sametime.c @ 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 | c571dbf696da |
children | a5b556ac1de5 714e25ef2550 |
comparison
equal
deleted
inserted
replaced
31763:f33200f71cc3 | 31766:4151dad5bd00 |
---|---|
922 alias = mwSametimeGroup_getAlias(stgroup); | 922 alias = mwSametimeGroup_getAlias(stgroup); |
923 type = mwSametimeGroup_getType(stgroup); | 923 type = mwSametimeGroup_getType(stgroup); |
924 | 924 |
925 if (!name) { | 925 if (!name) { |
926 DEBUG_WARN("Can't ensure a null group\n"); | 926 DEBUG_WARN("Can't ensure a null group\n"); |
927 return; | 927 return NULL; |
928 } | 928 } |
929 | 929 |
930 DEBUG_INFO("attempting to ensure group %s, called %s\n", | 930 DEBUG_INFO("attempting to ensure group %s, called %s\n", |
931 NSTR(name), NSTR(alias)); | 931 NSTR(name), NSTR(alias)); |
932 | 932 |