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-apps/src/samples/pjsip-perf.c

    r5035 r5170  
    968968    if (status != PJ_SUCCESS) { 
    969969        pjsip_tx_data *tdata; 
    970         pj_status_t status; 
    971  
    972         status = pjsip_inv_end_session(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE,  
     970        pj_status_t status2; 
     971 
     972        status2 = pjsip_inv_end_session(inv, PJSIP_SC_UNSUPPORTED_MEDIA_TYPE, 
    973973                                       NULL, &tdata); 
    974         if (status == PJ_SUCCESS && tdata) 
    975             status = pjsip_inv_send_msg(inv, tdata); 
     974        if (status2 == PJ_SUCCESS && tdata) 
     975            status2 = pjsip_inv_send_msg(inv, tdata); 
    976976    } 
    977977} 
Note: See TracChangeset for help on using the changeset viewer.