From: Michael Jerris Date: Wed, 22 Apr 2015 16:46:16 +0000 (-0500) Subject: CID:1210582: remove logically dead code X-Git-Tag: v1.6.2~614^2~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3205546bcb342696a097b7d366cfcde1a0152bce;p=thirdparty%2Ffreeswitch.git CID:1210582: remove logically dead code --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 955849b429..943e8ebc45 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -6512,9 +6512,6 @@ SWITCH_DECLARE(switch_status_t) switch_rtcp_zerocopy_read_frame(switch_rtp_t *rt frame->reports[i].jitter = ntohl(report->jitter); frame->reports[i].lsr = ntohl(report->lsr); frame->reports[i].dlsr = ntohl(report->dlsr); - if (i >= MAX_REPORT_BLOCKS) { - break; - } } frame->report_count = (uint16_t)i;