Changeset 8104


Ignore:
Timestamp:
Mar 29, 2009, 4:44:59 PM (13 years ago)
Author:
charles
Message:

(trunk libT) silence a couple of session.c warnings from last night

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r8101 r8104  
    477477    int64_t j;
    478478    double  d;
     479    tr_bool useAltSpeedTime;
    479480    tr_bool found;
    480481    const char * str;
     
    652653    found = tr_bencDictFindInt( &settings, TR_PREFS_KEY_ALT_SPEED_TIME_ENABLED, &i );
    653654    assert( found );
    654     tr_bool useAltSpeedTime = i!=0;
     655    useAltSpeedTime = i!=0;
    655656    tr_sessionUseAltSpeedTime( session, useAltSpeedTime );
    656657
     
    10421043    if( s->altSpeedTimeEnabled != b )
    10431044    {
     1045        const tr_bool isAlt = isAltTime( s );
     1046
    10441047        s->altSpeedTimeEnabled = b;
    10451048
    1046         const tr_bool isAlt = isAltTime( s );
    10471049        if( b && s->altSpeedEnabled != isAlt )
    10481050            tr_sessionUseAltSpeed( s, isAlt );
Note: See TracChangeset for help on using the changeset viewer.