From 3205546bcb342696a097b7d366cfcde1a0152bce Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 22 Apr 2015 11:46:16 -0500 Subject: [PATCH] CID:1210582: remove logically dead code --- src/switch_rtp.c | 3 --- 1 file changed, 3 deletions(-) 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;