[Asterisk-code-review] res_pjsip_sdp_rtp: Remove unused variable (...asterisk[16])
Friendly Automation
asteriskteam at digium.com
Tue Jul 2 08:24:58 CDT 2019
Friendly Automation has submitted this change and it was merged. ( https://gerrit.asterisk.org/c/asterisk/+/11510 )
Change subject: res_pjsip_sdp_rtp: Remove unused variable
......................................................................
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
---
M res/res_pjsip_sdp_rtp.c
1 file changed, 0 insertions(+), 1 deletion(-)
Approvals:
Benjamin Keith Ford: Looks good to me, but someone else must approve
Matthew Fredrickson: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Friendly Automation: Approved for Submit
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c
index 80ac253..dfbaad6 100644
--- a/res/res_pjsip_sdp_rtp.c
+++ b/res/res_pjsip_sdp_rtp.c
@@ -382,7 +382,6 @@
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;
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11510
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Ia8766d05a0738aecb29dd018302c2dafca5cab34
Gerrit-Change-Number: 11510
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matthew Fredrickson <creslin at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190702/b929ab6f/attachment.html>
More information about the asterisk-code-review
mailing list