From 20e6b29e37e29fce3b1eb6eaae9dca1c8a940e75 Mon Sep 17 00:00:00 2001 From: Stefan Kieszkowski <85728496+stefankiesz@users.noreply.github.com> Date: Wed, 6 Nov 2024 10:59:03 -0800 Subject: [PATCH] Cleanup unused variable --- src/source/Metrics/Metrics.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/source/Metrics/Metrics.c b/src/source/Metrics/Metrics.c index 5dc10abf11..93a8cb030e 100644 --- a/src/source/Metrics/Metrics.c +++ b/src/source/Metrics/Metrics.c @@ -9,11 +9,6 @@ STATUS getIceCandidatePairStats(PRtcPeerConnection pRtcPeerConnection, PRtcIceCa STATUS retStatus = STATUS_SUCCESS; BOOL locked = FALSE; PIceAgent pIceAgent = NULL; - BOOL statsControlEnabled = FALSE; - -#ifdef ENABLE_STATS_CALCULATION_CONTROL - statsControlEnabled = TRUE; -#endif CHK((pRtcPeerConnection != NULL || pRtcIceCandidatePairStats != NULL), STATUS_NULL_ARG); pIceAgent = ((PKvsPeerConnection) pRtcPeerConnection)->pIceAgent;