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/pool_perf.c

    r3553 r5170  
    4848 
    4949    for (i=0; i<COUNT; ++i) { 
    50         char *p; 
    51         if ( (p=(char*)pj_pool_alloc(pool, sizes[i])) == NULL) { 
     50        char *ptr; 
     51        if ( (ptr=(char*)pj_pool_alloc(pool, sizes[i])) == NULL) { 
    5252            PJ_LOG(3,(THIS_FILE,"   error: pool failed to allocate %d bytes", 
    5353                      sizes[i])); 
     
    5555            return -1; 
    5656        } 
    57         *p = '\0'; 
     57        *ptr = '\0'; 
    5858    } 
    5959 
Note: See TracChangeset for help on using the changeset viewer.