# HG changeset patch # User Mark Doliner # Date 1233687184 0 # Node ID cd7aa76faef6dec7dc3fa8cc3eb29b955cff4432 # Parent b5c82724598c6a6bf43be235381d1796f82de931 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 diff -r b5c82724598c -r cd7aa76faef6 libpurple/protocols/msn/user.c --- a/libpurple/protocols/msn/user.c Tue Feb 03 05:39:47 2009 +0000 +++ b/libpurple/protocols/msn/user.c Tue Feb 03 18:53:04 2009 +0000 @@ -180,7 +180,7 @@ gboolean msn_user_set_friendly_name(MsnUser *user, const char *name) { - g_return_if_fail(user != NULL); + g_return_val_if_fail(user != NULL, FALSE); if (user->friendly_name && name && !strcmp(user->friendly_name, name)) return FALSE;