Ignore:
Timestamp:
Jun 28, 2010, 1:42:45 PM (11 years ago)
Author:
charles
Message:

(trunk libT) remove unused code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/verify.c

    r10695 r10904  
    321321
    322322static int
    323 compareVerifyByTorrent( const void * va,
    324                         const void * vb )
     323compareVerifyByTorrent( const void * va, const void * vb )
    325324{
    326325    const struct verify_node * a = va;
    327     const tr_torrent *         b = vb;
    328 
     326    const tr_torrent * b = vb;
    329327    return a->torrent - b;
    330 }
    331 
    332 tr_bool
    333 tr_verifyInProgress( const tr_torrent * tor )
    334 {
    335     tr_bool found = FALSE;
    336     tr_lock * lock = getVerifyLock( );
    337     tr_lockLock( lock );
    338 
    339     assert( tr_isTorrent( tor ) );
    340 
    341     found = ( tor == currentNode.torrent )
    342          || ( tr_list_find( verifyList, tor, compareVerifyByTorrent ) != NULL );
    343 
    344     tr_lockUnlock( lock );
    345     return found;
    346328}
    347329
Note: See TracChangeset for help on using the changeset viewer.