]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
CID:1210582: remove logically dead code
authorMichael Jerris <mike@jerris.com>
Wed, 22 Apr 2015 16:46:16 +0000 (11:46 -0500)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:24 +0000 (12:47 -0500)
src/switch_rtp.c

index 955849b429425632c890afd7ee6be6f842081b2c..943e8ebc45130bcce22d4a934b2b8ac1b1dedfb9 100644 (file)
@@ -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;