Changeset 12427


Ignore:
Timestamp:
May 11, 2011, 9:09:31 PM (10 years ago)
Author:
jordan
Message:

(trunk libT) make allocateBandwidth()'s "priority" field const.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bandwidth.c

    r12420 r12427  
    168168                   tr_ptrArray   * peer_pool )
    169169{
    170     tr_priority_t priority;
     170    const tr_priority_t priority = MAX( parent_priority, b->priority );
    171171
    172172    assert( tr_isBandwidth( b ) );
     
    186186#endif
    187187    }
    188 
    189     priority = MAX( parent_priority, b->priority );
    190188
    191189    /* add this bandwidth's peer, if any, to the peer pool */
Note: See TracChangeset for help on using the changeset viewer.