Changeset 7040


Ignore:
Timestamp:
Nov 4, 2008, 7:40:18 PM (12 years ago)
Author:
charles
Message:

(libT) fix a pair of dead store warnings from m1b & clang

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/web.c

    r6999 r7040  
    195195        CURLMsg * msg;
    196196        int msgs_left;
    197         CURLcode res;
    198197
    199198        easy = NULL;
     
    201200            if( msg->msg == CURLMSG_DONE ) {
    202201                easy = msg->easy_handle;
    203                 res = msg->data.result;
    204202                break;
    205203            }
     
    405403 * before you call curl_multi_perform() again."  */
    406404static void
    407 multi_timer_cb( CURLM *multi UNUSED, long timer_ms, void * g )
    408 {
     405multi_timer_cb( CURLM *multi UNUSED, long timer_ms, void * vg )
     406{
     407    tr_web * g = vg;
     408
    409409    if( timer_ms < 1 ) {
    410410        if( timer_ms == 0 ) /* call it immediately */
     
    412412        timer_ms = DEFAULT_TIMER_MSEC;
    413413    }
     414
     415    g->timer_ms = timer_ms;
    414416    restart_timer( g );
    415417}
Note: See TracChangeset for help on using the changeset viewer.