From e5fc032d9c88955f644322b4d65187c8ac858790 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 1 Jan 2009 18:35:21 +0000 Subject: [PATCH] (trunk libT) Remove unused field: struct tr_peermsgs::peerSentBitfield --- libtransmission/peer-msgs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libtransmission/peer-msgs.c b/libtransmission/peer-msgs.c index 0e4b63d7a..6d1ac9b3c 100644 --- a/libtransmission/peer-msgs.c +++ b/libtransmission/peer-msgs.c @@ -264,7 +264,6 @@ struct tr_incoming */ struct tr_peermsgs { - tr_bool peerSentBitfield; tr_bool peerSupportsPex; tr_bool clientSentLtepHandshake; tr_bool peerSentLtepHandshake; @@ -1465,7 +1464,6 @@ readBtMessage( tr_peermsgs * msgs, struct evbuffer * inbuf, size_t inlen, size_t case BT_BITFIELD: { dbgmsg( msgs, "got a bitfield" ); - msgs->peerSentBitfield = 1; tr_peerIoReadBytes( msgs->peer->io, inbuf, msgs->peer->have->bits, msglen ); updatePeerProgress( msgs ); fireNeedReq( msgs );