Mercurial > pidgin
comparison libpurple/protocols/msn/user.c @ 25413:cd7aa76faef6
Fix this compile warning:
user.c: In function ¡Æmsn_user_set_friendly_name¡Ç:
user.c:183: warning: ¡Æreturn¡Ç with no value, in function returning non-void
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 03 Feb 2009 18:53:04 +0000 |
parents | f5188d4d84e3 |
children | 4b8c4870b13a |
comparison
equal
deleted
inserted
replaced
25412:b5c82724598c | 25413:cd7aa76faef6 |
---|---|
178 } | 178 } |
179 | 179 |
180 gboolean | 180 gboolean |
181 msn_user_set_friendly_name(MsnUser *user, const char *name) | 181 msn_user_set_friendly_name(MsnUser *user, const char *name) |
182 { | 182 { |
183 g_return_if_fail(user != NULL); | 183 g_return_val_if_fail(user != NULL, FALSE); |
184 | 184 |
185 if (user->friendly_name && name && !strcmp(user->friendly_name, name)) | 185 if (user->friendly_name && name && !strcmp(user->friendly_name, name)) |
186 return FALSE; | 186 return FALSE; |
187 | 187 |
188 g_free(user->friendly_name); | 188 g_free(user->friendly_name); |