From d38ed7d37973a49a1f047cf210d4c2486c8d902d Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Wed, 29 Jun 2022 21:42:37 +0300 Subject: [PATCH] [Unit-tests] Fix unused function in switch_rtp_pcap --- tests/unit/switch_rtp_pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/switch_rtp_pcap.c b/tests/unit/switch_rtp_pcap.c index 74b79f9a24..647e481c8e 100644 --- a/tests/unit/switch_rtp_pcap.c +++ b/tests/unit/switch_rtp_pcap.c @@ -76,6 +76,7 @@ struct sniff_ip { #define IP_HL(ip) (((ip)->ip_vhl) & 0x0f) /* switch_rtp.c - calc_local_lsr_now() */ +#if 0 static inline uint32_t test_calc_local_lsr_now(switch_time_t now, uint32_t past /*milliseconds*/) { // switch_time_t now; @@ -90,7 +91,6 @@ static inline uint32_t test_calc_local_lsr_now(switch_time_t now, uint32_t past return lsr_now; } -#if 0 static void test_prepare_rtcp(void *rtcp_packet, float est_last, uint32_t rtt, uint8_t loss) { /* taken from switch_rtp.c, rtcp_generate_sender_info() */