Mercurial > pidgin
comparison libpurple/protocols/qq/qq_trans.c @ 30413:7c871249318b
Fix some "Dead nested assignment"s and then kill off some useless
variables related to them.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 14 Aug 2010 05:17:38 +0000 |
parents | 7da3cf2530b7 |
children | 351d07aefb09 |
comparison
equal
deleted
inserted
replaced
30412:41906308232b | 30413:7c871249318b |
---|---|
136 } | 136 } |
137 | 137 |
138 /* Remove a packet with seq from send trans */ | 138 /* Remove a packet with seq from send trans */ |
139 static void trans_remove(PurpleConnection *gc, qq_transaction *trans) | 139 static void trans_remove(PurpleConnection *gc, qq_transaction *trans) |
140 { | 140 { |
141 qq_data *qd = (qq_data *)gc->proto_data; | 141 qq_data *qd; |
142 | 142 |
143 g_return_if_fail(gc != NULL && gc->proto_data != NULL); | 143 g_return_if_fail(gc != NULL); |
144 qd = (qq_data *) gc->proto_data; | 144 qd = (qq_data *) gc->proto_data; |
145 g_return_if_fail(qd != NULL); | |
145 | 146 |
146 g_return_if_fail(trans != NULL); | 147 g_return_if_fail(trans != NULL); |
147 #if 0 | 148 #if 0 |
148 purple_debug_info("QQ_TRANS", | 149 purple_debug_info("QQ_TRANS", |
149 "Remove [%s%05d] retry %d rcved %d scan %d %s\n", | 150 "Remove [%s%05d] retry %d rcved %d scan %d %s\n", |