Ignore:
Timestamp:
Aug 25, 2015 8:45:46 AM (9 years ago)
Author:
nanang
Message:

Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.

File:
1 edited

Legend:

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

    r4537 r5170  
    5959    pj_timer_heap_t *timer; 
    6060    pj_time_val delay; 
    61     pj_status_t rc;    int err=0; 
     61    pj_status_t status; 
     62    int err=0; 
    6263    pj_size_t size; 
    6364    unsigned count; 
     
    7879        entry[i].cb = &timer_callback; 
    7980    } 
    80     rc = pj_timer_heap_create(pool, MAX_COUNT, &timer); 
    81     if (rc != PJ_SUCCESS) { 
    82         app_perror("...error: unable to create timer heap", rc); 
     81    status = pj_timer_heap_create(pool, MAX_COUNT, &timer); 
     82    if (status != PJ_SUCCESS) { 
     83        app_perror("...error: unable to create timer heap", status); 
    8384        return -30; 
    8485    } 
Note: See TracChangeset for help on using the changeset viewer.