changeset 25051: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 b5c82724598c
children efde7e6ed5f2
files libpurple/protocols/msn/user.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;