Ignore:
Timestamp:
May 22, 2009, 7:03:00 PM (13 years ago)
Author:
charles
Message:

(trunk libT) fix a couple of dead assignments, and a possible null pointer dereference, found by clang

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bandwidth.c

    r8289 r8483  
    350350{
    351351    struct tr_band * band;
    352     size_t oldBytesLeft;
    353352
    354353    assert( tr_isBandwidth( b ) );
     
    356355
    357356    band = &b->band[dir];
    358 
    359     oldBytesLeft = band->bytesLeft;
    360357
    361358    if( band->isLimited && isPieceData )
Note: See TracChangeset for help on using the changeset viewer.