Fix unused variable warning after change to new DLINK macros.
authorJeremy Allison <jra@samba.org>
Thu, 11 Feb 2010 01:20:21 +0000 (17:20 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 11 Feb 2010 01:20:21 +0000 (17:20 -0800)
Jeremy.

source3/nmbd/nmbd_packets.c

index 7a6250c2f1186cdf46ec3fb7be05292c93547efe..8e46efe2d06a0cab6c6d47a7bc55124b69c61d9f 100644 (file)
@@ -1011,8 +1011,6 @@ for id %hu\n", packet_type, nmb_namestr(&orig_nmb->question.question_name),
 
 void queue_packet(struct packet_struct *packet)
 {
-       struct packet_struct *p;
-
        DLIST_ADD_END(packet_queue, packet, struct packet_struct *);
 }