changeset 14492:a85299caf0c3

[gaim-migrate @ 17211] group_search.c: In function 'qq_process_group_cmd_search_group': group_search.c:114: warning: 'i' is used uninitialized in this function committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 09 Sep 2006 21:58:04 +0000
parents 8a1c6ed3dde6
children 5ac8f22e7b08
files libgaim/protocols/qq/group_search.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/protocols/qq/group_search.c	Sat Sep 09 21:32:47 2006 +0000
+++ b/libgaim/protocols/qq/group_search.c	Sat Sep 09 21:58:04 2006 +0000
@@ -97,7 +97,7 @@
 {
 	guint8 search_type;
 	guint16 unknown;
-	gint bytes, pascal_len, i;
+	gint bytes, pascal_len;
 	qq_data *qd;
 	qq_group *group;
 	GSList *pending_id;
@@ -111,7 +111,6 @@
 
 	/* now it starts with group_info_entry */
 	bytes = 0;
-	i++;
 	bytes += read_packet_dw(data, cursor, len, &(group->internal_group_id));
 	bytes += read_packet_dw(data, cursor, len, &(group->external_group_id));
 	bytes += read_packet_b(data, cursor, len, &(group->group_type));