Changeset 6027


Ignore:
Timestamp:
Jun 13, 2019 3:59:27 AM (5 years ago)
Author:
ming
Message:

Re #2147 (misc): Suppressed warnings of unused function and misused comma

Location:
pjproject/trunk/pjsip-apps/src/pjsua
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r6005 r6027  
    533533 * DTMF callback. 
    534534 */ 
     535/* 
    535536static void call_on_dtmf_callback(pjsua_call_id call_id, int dtmf) 
    536537{ 
    537538    PJ_LOG(3,(THIS_FILE, "Incoming DTMF on call %d: %c", call_id, dtmf)); 
    538539} 
     540*/ 
    539541 
    540542static void call_on_dtmf_callback2(pjsua_call_id call_id,  
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_common.c

    r5626 r6027  
    4949    pj_cstr(&s, cs); 
    5050    if (cs[0] == '-') { 
    51         s.ptr++, s.slen--; 
     51        s.ptr++; s.slen--; 
    5252        return 0 - (int)pj_strtoul(&s); 
    5353    } else if (cs[0] == '+') { 
    54         s.ptr++, s.slen--; 
     54        s.ptr++; s.slen--; 
    5555        return (int)pj_strtoul(&s); 
    5656    } else { 
Note: See TracChangeset for help on using the changeset viewer.