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
This commit is contained in:
Kevin Harwell 2019-07-01 10:49:56 -05:00
parent 31ef22ead1
commit 83aba363fe
1 changed files with 0 additions and 1 deletions

View File

@ -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;