From 93936e367d6931327e314e992988e0324c9af3a2 Mon Sep 17 00:00:00 2001 From: Kevin Harwell Date: Mon, 1 Jul 2019 10:49:56 -0500 Subject: [PATCH] res_pjsip_sdp_rtp: Remove unused variable The variable 'endpoint_caps' in function 'set_caps' is not used, so remove. ASTERISK-28458 Change-Id: Ia8766d05a0738aecb29dd018302c2dafca5cab34 --- res/res_pjsip_sdp_rtp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c index 80ac253d22..dfbaad6450 100644 --- a/res/res_pjsip_sdp_rtp.c +++ b/res/res_pjsip_sdp_rtp.c @@ -382,7 +382,6 @@ static int set_caps(struct ast_sip_session *session, RAII_VAR(struct ast_format_cap *, caps, NULL, ao2_cleanup); RAII_VAR(struct ast_format_cap *, peer, NULL, ao2_cleanup); RAII_VAR(struct ast_format_cap *, joint, NULL, ao2_cleanup); - RAII_VAR(struct ast_format_cap *, endpoint_caps, NULL, ao2_cleanup); enum ast_media_type media_type = session_media->type; struct ast_rtp_codecs codecs = AST_RTP_CODECS_NULL_INIT; int fmts = 0;