Changeset 9605


Ignore:
Timestamp:
Nov 27, 2009, 3:32:11 PM (13 years ago)
Author:
charles
Message:

(trunk libT) remove unnecessary calls to tr_msgInit(). Suggested by BentMyWookie?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r9604 r9605  
    123123tr_setMessageLevel( int level )
    124124{
    125     tr_msgInit( );
    126125    tr_lockLock( messageLock );
    127126
     
    135134{
    136135    int ret;
    137     tr_msgInit( );
    138136    tr_lockLock( messageLock );
    139137
     
    147145tr_setMessageQueuing( tr_bool enabled )
    148146{
    149     tr_msgInit( );
    150147    tr_lockLock( messageLock );
    151148
     
    159156{
    160157    int ret;
    161     tr_msgInit( );
    162158    tr_lockLock( messageLock );
    163159
     
    172168{
    173169    tr_msg_list * ret;
    174     tr_msgInit( );
    175170    tr_lockLock( messageLock );
    176171
     
    308303    const int err = errno; /* message logging shouldn't affect errno */
    309304    FILE * fp;
    310     tr_msgInit( );
    311305    tr_lockLock( messageLock );
    312306
Note: See TracChangeset for help on using the changeset viewer.