Ignore:
Timestamp:
Mar 27, 2015 6:17:27 AM (9 years ago)
Author:
nanang
Message:

Re #1828: Fixed misc compile warnings (on iOS).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/ice_strans.c

    r4728 r5035  
    852852     * checked first. 
    853853     */ 
    854     if (ice_st->comp[0]->default_cand >= 0 && 
    855         ice_st->comp[0]->cand_list[ice_st->comp[0]->default_cand].type 
     854    if (ice_st->comp[0]->cand_list[ice_st->comp[0]->default_cand].type 
    856855            == PJ_ICE_CAND_TYPE_SRFLX) 
    857856    { 
     
    10411040    } else { 
    10421041        pj_ice_strans_comp *comp = ice_st->comp[comp_id - 1]; 
    1043         pj_assert(comp->default_cand>=0 && comp->default_cand<comp->cand_cnt); 
     1042        pj_assert(comp->default_cand<comp->cand_cnt); 
    10441043        pj_memcpy(cand, &comp->cand_list[comp->default_cand], 
    10451044                  sizeof(pj_ice_sess_cand)); 
Note: See TracChangeset for help on using the changeset viewer.