From: Guus Sliepen Date: Tue, 25 Apr 2000 20:17:44 +0000 (+0000) Subject: Fixed typo and removed some unnecessary variables. X-Git-Tag: release-1.0pre1~52 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dad90e82d3c7af95820b1c04903bed7074e2b175;p=oweals%2Ftinc.git Fixed typo and removed some unnecessary variables. --- diff --git a/src/net.c b/src/net.c index 1130fa9..ceda90b 100644 --- a/src/net.c +++ b/src/net.c @@ -185,9 +185,8 @@ cp } /* Remove a queue element */ -void del_queue(packet_queue_t **q, packet_element_t *e) +void del_queue(packet_queue_t **q, queue_element_t *e) { - queue_element_t *p, *n; cp free(e->packet); @@ -230,7 +229,7 @@ cp void flush_queue(conn_list_t *cl, packet_queue_t **pq, int (*function)(conn_list_t*,void*)) { - queue_element_t *p, *prev = NULL, *next = NULL; + queue_element_t *p, *next = NULL; cp for(p = (*pq)->head; p != NULL; ) {