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/pjsip/src/pjsua-lib/pjsua_media.c

    r5135 r5170  
    440440        } else { 
    441441            if (acc->cfg.allow_sdp_nat_rewrite && acc->reg_mapped_addr.slen) { 
    442                 pj_status_t status; 
     442                pj_status_t status2; 
    443443 
    444444                /* Take the address from mapped addr as seen by registrar */ 
    445                 status = pj_sockaddr_set_str_addr(af, &bound_addr, 
    446                                                   &acc->reg_mapped_addr); 
    447                 if (status != PJ_SUCCESS) { 
     445                status2 = pj_sockaddr_set_str_addr(af, &bound_addr, 
     446                                                   &acc->reg_mapped_addr); 
     447                if (status2 != PJ_SUCCESS) { 
    448448                    /* just leave bound_addr with whatever it was 
    449449                    pj_bzero(pj_sockaddr_get_addr(&bound_addr), 
Note: See TracChangeset for help on using the changeset viewer.