Changeset 2938 for pjproject/trunk


Ignore:
Timestamp:
Oct 11, 2009 5:06:43 AM (15 years ago)
Author:
bennylp
Message:

Ticket #951 (misc fixes):

  • fixed misc compiler warnings with gcc on Linux
Location:
pjproject/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath-test/stun.c

    r2928 r2938  
    598598    int rc = 0; 
    599599 
     600    /* To avoid function not referenced warnings */ 
     601    (void)create_msgint2; 
     602    (void)create_msgint3; 
     603 
    600604    PJ_LOG(3,(THIS_FILE, "  draft-denis-behave-rfc3489bis-test-vectors-02")); 
    601605 
  • pjproject/trunk/pjnath/src/pjnath/stun_session.c

    r2773 r2938  
    228228        pj_stun_msg_find_attr(msg, PJ_STUN_ATTR_SOFTWARE, 0)==NULL && 
    229229        (PJ_STUN_IS_RESPONSE(msg->hdr.type) || 
    230          PJ_STUN_IS_REQUEST(msg->hdr.type) && msg->hdr.magic==PJ_STUN_MAGIC))  
     230         (PJ_STUN_IS_REQUEST(msg->hdr.type) && msg->hdr.magic==PJ_STUN_MAGIC)))  
    231231    { 
    232232        pj_stun_msg_add_string_attr(pool, msg, PJ_STUN_ATTR_SOFTWARE, 
  • pjproject/trunk/pjsip-apps/src/samples/jbsim.c

    r2854 r2938  
    311311    pjmedia_codec_mgr *cm; 
    312312    unsigned count; 
    313     pjmedia_codec_info *ci; 
     313    const pjmedia_codec_info *ci; 
    314314    pjmedia_stream_info si; 
    315315    pj_status_t status; 
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r2869 r2938  
    29432943            break; 
    29442944 
     2945        case PJSIP_INV_STATE_CONFIRMED: 
    29452946#if 0 
    29462947/* We don't need this, as we've terminated the subscription in 
    29472948 * CONNECTING state. 
    29482949 */ 
    2949         case PJSIP_INV_STATE_CONFIRMED: 
    29502950            /* When state is confirmed, send the final 200/OK and terminate 
    29512951             * subscription. 
     
    29532953            st_code = e->body.tsx_state.tsx->status_code; 
    29542954            ev_state = PJSIP_EVSUB_STATE_TERMINATED; 
     2955#endif 
    29552956            break; 
    2956 #endif 
    29572957 
    29582958        case PJSIP_INV_STATE_DISCONNECTED: 
Note: See TracChangeset for help on using the changeset viewer.