Changeset 11844


Ignore:
Timestamp:
Feb 7, 2011, 11:09:36 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) silence minor "unused function argument" compiler warning

Location:
trunk/libtransmission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r11833 r11844  
    699699
    700700tr_torrent_tiers *
    701 tr_announcerAddTorrent( tr_announcer * announcer, tr_torrent * tor,
    702                         tr_tracker_callback * callback, void * callbackData )
     701tr_announcerAddTorrent( tr_torrent           * tor,
     702                        tr_tracker_callback  * callback,
     703                        void                 * callbackData )
    703704{
    704705    tr_torrent_tiers * tiers;
    705706
    706     assert( announcer != NULL );
    707707    assert( tr_isTorrent( tor ) );
    708708
  • trunk/libtransmission/announcer.h

    r11750 r11844  
    7373**/
    7474
    75 struct tr_torrent_tiers * tr_announcerAddTorrent( struct tr_announcer *,
    76                                                   tr_torrent          * torrent,
     75struct tr_torrent_tiers * tr_announcerAddTorrent( tr_torrent          * torrent,
    7776                                                  tr_tracker_callback * cb,
    7877                                                  void                * cbdata );
  • trunk/libtransmission/torrent.c

    r11825 r11844  
    895895    }
    896896
    897     tor->tiers = tr_announcerAddTorrent( tor->session->announcer, tor, onTrackerResponse, NULL );
     897    tor->tiers = tr_announcerAddTorrent( tor, onTrackerResponse, NULL );
    898898
    899899    if( isNewTorrent )
Note: See TracChangeset for help on using the changeset viewer.