Changeset 12194


Ignore:
Timestamp:
Mar 21, 2011, 4:22:39 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) remove unused configDir argument from tr_sessionGetDefaultSettings()

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r12184 r12194  
    301301
    302302void
    303 tr_sessionGetDefaultSettings( const char * configDir UNUSED, tr_benc * d )
     303tr_sessionGetDefaultSettings( tr_benc * d )
    304304{
    305305    assert( tr_bencIsDict( d ) );
     
    444444     * preserve those and use the session defaults to fill in any missing gaps. */
    445445    tr_bencInitDict( &sessionDefaults, 0 );
    446     tr_sessionGetDefaultSettings( configDir, &sessionDefaults );
     446    tr_sessionGetDefaultSettings( &sessionDefaults );
    447447    tr_bencMergeDicts( &sessionDefaults, d );
    448448    tmp = *d; *d = sessionDefaults; sessionDefaults = tmp;
     
    666666
    667667    tr_bencInitDict( &settings, 0 );
    668     tr_sessionGetDefaultSettings( data->configDir, &settings );
     668    tr_sessionGetDefaultSettings( &settings );
    669669    tr_bencMergeDicts( &settings, clientSettings );
    670670
  • trunk/libtransmission/transmission.h

    r12127 r12194  
    228228 * @see tr_getDefaultConfigDir()
    229229 */
    230 void tr_sessionGetDefaultSettings( const char * configDir, struct tr_benc * dictionary );
     230void tr_sessionGetDefaultSettings( struct tr_benc * dictionary );
    231231
    232232/**
Note: See TracChangeset for help on using the changeset viewer.