mirror of
https://github.com/transmission/transmission
synced 2025-02-20 13:16:53 +00:00
(trunk libT) silence minor "unused function argument" compiler warning
This commit is contained in:
parent
61d999dfdd
commit
2b905bdbcc
3 changed files with 5 additions and 6 deletions
|
@ -698,12 +698,12 @@ addTorrentToTier( tr_torrent_tiers * tiers,
|
|||
}
|
||||
|
||||
tr_torrent_tiers *
|
||||
tr_announcerAddTorrent( tr_announcer * announcer, tr_torrent * tor,
|
||||
tr_tracker_callback * callback, void * callbackData )
|
||||
tr_announcerAddTorrent( tr_torrent * tor,
|
||||
tr_tracker_callback * callback,
|
||||
void * callbackData )
|
||||
{
|
||||
tr_torrent_tiers * tiers;
|
||||
|
||||
assert( announcer != NULL );
|
||||
assert( tr_isTorrent( tor ) );
|
||||
|
||||
tiers = tiersNew( );
|
||||
|
|
|
@ -72,8 +72,7 @@ void tr_announcerClose( tr_session * );
|
|||
*** For torrent customers
|
||||
**/
|
||||
|
||||
struct tr_torrent_tiers * tr_announcerAddTorrent( struct tr_announcer *,
|
||||
tr_torrent * torrent,
|
||||
struct tr_torrent_tiers * tr_announcerAddTorrent( tr_torrent * torrent,
|
||||
tr_tracker_callback * cb,
|
||||
void * cbdata );
|
||||
|
||||
|
|
|
@ -894,7 +894,7 @@ torrentInit( tr_torrent * tor, const tr_ctor * ctor )
|
|||
}
|
||||
}
|
||||
|
||||
tor->tiers = tr_announcerAddTorrent( tor->session->announcer, tor, onTrackerResponse, NULL );
|
||||
tor->tiers = tr_announcerAddTorrent( tor, onTrackerResponse, NULL );
|
||||
|
||||
if( isNewTorrent )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue