diff libgaim/protocols/qq/group_search.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 e548832f0e82
children c039c920e11c
line wrap: on
line diff
--- a/libgaim/protocols/qq/group_search.c	Tue Sep 26 21:37:37 2006 +0000
+++ b/libgaim/protocols/qq/group_search.c	Tue Sep 26 22:54:24 2006 +0000
@@ -42,8 +42,6 @@
 	guint8 *raw_data, *cursor, type;
 	gint bytes, data_len;
 
-	g_return_if_fail(gc != NULL);
-
 	data_len = 6;
 	raw_data = g_newa(guint8, data_len);
 	cursor = raw_data;
@@ -96,7 +94,6 @@
 	qq_group *group;
 	GSList *pending_id;
 
-	g_return_if_fail(gc != NULL && gc->proto_data != NULL);
 	g_return_if_fail(data != NULL && len > 0);
 	qd = (qq_data *) gc->proto_data;