changeset 12655:2ef70289676c

[gaim-migrate @ 14998] Some things just need to be assumed committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 25 Dec 2005 05:43:47 +0000
parents ccd0fa854471
children 60cce1861e59
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sun Dec 25 05:34:43 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Dec 25 05:43:47 2005 +0000
@@ -8481,16 +8481,9 @@
 	GaimAccount *account;
 	GaimConnection *gc;
 
-	g_return_val_if_fail(buddy, FALSE);
-
 	account = gaim_buddy_get_account(buddy);
-	g_return_val_if_fail(account != NULL, FALSE);
-
 	gc = gaim_account_get_connection(account);
-	g_return_val_if_fail(gc != NULL, FALSE);
-
 	od = (OscarData *)gc->proto_data;
-	g_return_val_if_fail(od != NULL, FALSE);
 
 	return (od->icq && aim_sn_is_icq(gaim_account_get_username(account)));
 }