Changeset 9863


Ignore:
Timestamp:
Jan 4, 2010, 8:14:25 PM (12 years ago)
Author:
charles
Message:

(trunk libT) remove dead code: tr_announce_list_err

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r9860 r9863  
    20832083***/
    20842084
    2085 tr_announce_list_err
    2086 tr_torrentSetAnnounceList( tr_torrent *            tor,
    2087                            const tr_tracker_info * trackers,
    2088                            int                     trackerCount )
     2085tr_bool
     2086tr_torrentSetAnnounceList( tr_torrent             * tor,
     2087                           const tr_tracker_info  * trackers,
     2088                           int                      trackerCount )
    20892089{
    20902090    int i;
     
    21592159
    21602160    tr_torrentUnlock( tor );
    2161     return ok ? TR_ANNOUNCE_LIST_OK : TR_ANNOUNCE_LIST_HAS_BAD;
     2161    return ok;
    21622162}
    21632163
  • trunk/libtransmission/transmission.h

    r9845 r9863  
    12111211
    12121212
    1213 typedef enum
    1214 {
    1215   TR_ANNOUNCE_LIST_OK,
    1216   TR_ANNOUNCE_LIST_HAS_BAD
    1217 }
    1218 tr_announce_list_err;
    1219 
    12201213/**
    12211214 * @brief Modify a torrent's tracker list.
     
    12301223 * @param trackerCount size of the `trackers' array
    12311224 */
    1232 tr_announce_list_err
     1225tr_bool
    12331226tr_torrentSetAnnounceList( tr_torrent             * torrent,
    12341227                           const tr_tracker_info  * trackers,
Note: See TracChangeset for help on using the changeset viewer.