Changeset 728 for pjproject


Ignore:
Timestamp:
Sep 19, 2006 1:32:05 PM (18 years ago)
Author:
bennylp
Message:

Fixed misc compilation warnings (mostly about unused variables)

Location:
pjproject/trunk/pjsip/src/test-pjsip
Files:
5 edited

Legend:

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

    r595 r728  
    220220    pj_caching_pool caching_pool; 
    221221    const char *filename; 
    222     unsigned i, tsx_test_cnt=0; 
     222    unsigned tsx_test_cnt=0; 
    223223    struct tsx_test_param tsx_test[10]; 
    224224    pj_status_t status; 
     225#if INCLUDE_TSX_TEST 
     226    unsigned i; 
    225227    pjsip_transport *tp; 
    226228    pjsip_tpfactory *tpfactory; 
     229#endif 
    227230    int line; 
    228231 
  • pjproject/trunk/pjsip/src/test-pjsip/transport_test.c

    r624 r728  
    336336{ 
    337337    if (!pj_strncmp(&rdata->msg_info.cid->id, &rt_call_id, rt_call_id.slen)) { 
    338         char *pos = pj_strchr(&rdata->msg_info.cid->id, '/'); 
    339         int thread_id = (*pos - '0'); 
    340  
    341338        pjsip_tx_data *tdata; 
    342339        pjsip_response_addr res_addr; 
     
    490487static int rt_worker_thread(void *arg) 
    491488{ 
    492     int i, thread_id = (int)(long)arg; 
     489    int i; 
    493490    pj_time_val poll_delay = { 0, 10 }; 
    494491 
  • pjproject/trunk/pjsip/src/test-pjsip/tsx_uas_test.c

    r563 r728  
    107107static char *TEST11_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAS-Test11"; 
    108108static char *TEST12_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAS-Test12"; 
    109 static char *TEST13_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAS-Test13"; 
     109//static char *TEST13_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAS-Test13"; 
    110110 
    111111#define TEST1_STATUS_CODE       200 
     
    195195 
    196196/* General timer entry to be used by tests. */ 
    197 static pj_timer_entry timer; 
     197//static pj_timer_entry timer; 
    198198 
    199199/* Timer to send response via transaction. */ 
     
    314314} 
    315315 
     316#if 0   /* Unused for now */ 
    316317/* Timer callback to terminate transaction. */ 
    317318static void terminate_tsx_timer( pj_timer_heap_t *timer_heap, 
     
    339340    pjsip_endpt_schedule_timer(endpt, &timer, &delay); 
    340341} 
     342#endif 
    341343 
    342344 
  • pjproject/trunk/pjsip/src/test-pjsip/txdata_test.c

    r582 r728  
    338338 *  http://bugzilla.pjproject.net/show_bug.cgi?id=49 
    339339 */ 
     340#if INCLUDE_GCC_TEST 
    340341static int gcc_test() 
    341342{ 
     
    401402    return 0; 
    402403} 
     404#endif 
    403405 
    404406 
  • pjproject/trunk/pjsip/src/test-pjsip/uri_test.c

    r624 r728  
    7777static pjsip_uri *create_uri33( pj_pool_t *pool ); 
    7878static pjsip_uri *create_uri34( pj_pool_t *pool ); 
    79 static pjsip_uri *create_uri35( pj_pool_t *pool ); 
     79//static pjsip_uri *create_uri35( pj_pool_t *pool ); 
    8080static pjsip_uri *create_dummy( pj_pool_t *pool ); 
    8181 
Note: See TracChangeset for help on using the changeset viewer.