Changeset 4238


Ignore:
Timestamp:
Aug 31, 2012 6:17:56 AM (12 years ago)
Author:
nanang
Message:

Misc (#1559): fixed warnings of unused var on Symbian platform.

Location:
pjproject/trunk/pjlib/src/pjlib-test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/activesock.c

    r3553 r4238  
    214214            pj_time_val delay = {0, 10}; 
    215215#ifdef PJ_SYMBIAN 
     216            PJ_UNUSED_ARG(delay); 
    216217            pj_symbianos_poll(-1, 100); 
    217218#else 
  • pjproject/trunk/pjlib/src/pjlib-test/ioq_tcp.c

    r3553 r4238  
    364364#ifdef PJ_SYMBIAN 
    365365        callback_call_count = 0; 
    366         pj_symbianos_poll(-1, 1000); 
     366        pj_symbianos_poll(-1, PJ_TIME_VAL_MSEC(timeout)); 
    367367        status = callback_call_count; 
    368368#else 
     
    413413        pj_time_val timeout = {1, 0}; 
    414414#ifdef PJ_SYMBIAN 
    415         status = pj_symbianos_poll(-1, 1000); 
     415        status = pj_symbianos_poll(-1, PJ_TIME_VAL_MSEC(timeout)); 
    416416#else 
    417417        status = pj_ioqueue_poll(ioque, &timeout); 
     
    543543#ifdef PJ_SYMBIAN 
    544544        callback_call_count = 0; 
    545         pj_symbianos_poll(-1, 1000); 
     545        pj_symbianos_poll(-1, PJ_TIME_VAL_MSEC(timeout)); 
    546546        status = callback_call_count; 
    547547#else 
     
    577577        pj_time_val timeout = {1, 0}; 
    578578#ifdef PJ_SYMBIAN 
    579         status = pj_symbianos_poll(-1, 1000); 
     579        status = pj_symbianos_poll(-1, PJ_TIME_VAL_MSEC(timeout)); 
    580580#else 
    581581        status = pj_ioqueue_poll(ioque, &timeout); 
     
    772772 
    773773#ifdef PJ_SYMBIAN 
    774                 status = pj_symbianos_poll(-1, 1000); 
     774                status = pj_symbianos_poll(-1, PJ_TIME_VAL_MSEC(timeout)); 
    775775#else 
    776776                status = pj_ioqueue_poll(ioque, &timeout); 
     
    798798            pj_time_val timeout = {1, 0}; 
    799799#ifdef PJ_SYMBIAN 
    800             status = pj_symbianos_poll(-1, 1000); 
     800            status = pj_symbianos_poll(-1, PJ_TIME_VAL_MSEC(timeout)); 
    801801#else 
    802802            status = pj_ioqueue_poll(ioque, &timeout); 
  • pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c

    r3553 r4238  
    268268        TRACE_("poll..."); 
    269269#ifdef PJ_SYMBIAN 
    270         rc = pj_symbianos_poll(-1, 5000); 
     270        rc = pj_symbianos_poll(-1, PJ_TIME_VAL_MSEC(timeout)); 
    271271#else 
    272272        rc = pj_ioqueue_poll(ioque, &timeout); 
     
    784784            pj_time_val timeout = { 1, 0 }; 
    785785#ifdef PJ_SYMBIAN 
    786             rc = pj_symbianos_poll(-1, 1000); 
     786            rc = pj_symbianos_poll(-1, PJ_TIME_VAL_MSEC(timeout)); 
    787787#else 
    788788            rc = pj_ioqueue_poll(ioque, &timeout); 
     
    813813            pj_time_val timeout = { 0, 10 }; 
    814814#ifdef PJ_SYMBIAN 
     815            PJ_UNUSED_ARG(timeout); 
    815816            rc = pj_symbianos_poll(-1, 100); 
    816817#else        
Note: See TracChangeset for help on using the changeset viewer.