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;