Mercurial > pidgin
diff libgaim/protocols/qq/buddy_status.c @ 14629:6b8bc59414f0
[gaim-migrate @ 17375]
Get rid of these useless checks.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Tue, 26 Sep 2006 22:54:24 +0000 |
parents | 437ce90442cf |
children | c039c920e11c |
line wrap: on
line diff
--- a/libgaim/protocols/qq/buddy_status.c Tue Sep 26 21:37:37 2006 +0000 +++ b/libgaim/protocols/qq/buddy_status.c Tue Sep 26 22:54:24 2006 +0000 @@ -118,8 +118,6 @@ GaimAccount *account; GaimPresence *presence; - g_return_val_if_fail(gc != NULL && gc->proto_data != NULL, 2); - account = gaim_connection_get_account(gc); presence = gaim_account_get_presence(account); @@ -144,8 +142,6 @@ GaimAccount *account; GaimPresence *presence; - g_return_if_fail(gc != NULL && gc->proto_data != NULL); - account = gaim_connection_get_account(gc); presence = gaim_account_get_presence(account); @@ -189,7 +185,6 @@ qq_buddy *q_bud; gchar *name; - g_return_if_fail(gc != NULL && gc->proto_data != NULL); g_return_if_fail(buf != NULL && buf_len != 0); qd = (qq_data *) gc->proto_data; @@ -226,7 +221,6 @@ qq_buddy_status *s; gchar *name; - g_return_if_fail(gc != NULL && gc->proto_data != NULL); g_return_if_fail(buf != NULL && buf_len != 0); qd = (qq_data *) gc->proto_data;