Ignore:
Timestamp:
Jan 23, 2014 8:09:29 AM (11 years ago)
Author:
nanang
Message:

Misc (re #1630): Fixed GCC build warnings (thanks Tzafrir Cohen for the patch).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/rtcp.c

    r4537 r4712  
    288288    pj_int32_t transit; 
    289289    pjmedia_rtp_status seq_st; 
    290     unsigned last_seq; 
    291290 
    292291#if !defined(PJMEDIA_HAS_RTCP_XR) || (PJMEDIA_HAS_RTCP_XR == 0) 
     
    303302 
    304303    /* Process the RTP packet. */ 
    305     last_seq = sess->seq_ctrl.max_seq; 
    306304    pjmedia_rtp_seq_update(&sess->seq_ctrl, (pj_uint16_t)seq, &seq_st); 
    307305 
     
    808806{ 
    809807    pj_uint32_t expected, expected_interval, received_interval, lost_interval; 
    810     pjmedia_rtcp_common *common; 
    811808    pjmedia_rtcp_sr *sr; 
    812809    pjmedia_rtcp_rr *rr; 
     
    829826        *ret_p_pkt = (void*) &sess->rtcp_sr_pkt; 
    830827        *len = sizeof(pjmedia_rtcp_sr_pkt); 
    831         common = &sess->rtcp_sr_pkt.common; 
    832828        rr = &sess->rtcp_sr_pkt.rr; 
    833829        sr = &sess->rtcp_sr_pkt.sr; 
     
    860856        *ret_p_pkt = (void*) &sess->rtcp_rr_pkt; 
    861857        *len = sizeof(pjmedia_rtcp_rr_pkt); 
    862         common = &sess->rtcp_rr_pkt.common; 
    863858        rr = &sess->rtcp_rr_pkt.rr; 
    864859        sr = NULL; 
Note: See TracChangeset for help on using the changeset viewer.