From 45ade68cb48baad5f4f994fae6fe52211f379f70 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Tue, 15 Apr 2014 18:01:47 +0000 Subject: Remove unused RAII_VAR() declarations. * Remove unused RAII_VAR() declarations. The compiler cannot catch these because the cleanup function "references" the unused variable. Some actually allocated and released resources that were never used. * Fixed some whitespace issues in stasis_bridges.c. ........ Merged revisions 412399 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412400 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_pjsip/security_events.c | 1 - 1 file changed, 1 deletion(-) (limited to 'res/res_pjsip/security_events.c') diff --git a/res/res_pjsip/security_events.c b/res/res_pjsip/security_events.c index 5bb5af90c..5c30e1c5e 100644 --- a/res/res_pjsip/security_events.c +++ b/res/res_pjsip/security_events.c @@ -136,7 +136,6 @@ void ast_sip_report_auth_failed_challenge_response(struct ast_sip_endpoint *endp char call_id[pj_strlen(&rdata->msg_info.cid->id) + 1]; char nonce[64] = "", response[256] = ""; struct ast_sockaddr local, remote; - RAII_VAR(struct ast_sip_endpoint *, artificial, ast_sip_get_artificial_endpoint(), ao2_cleanup); struct ast_security_event_chal_resp_failed chal_resp_failed = { .common.event_type = AST_SECURITY_EVENT_CHAL_RESP_FAILED, -- cgit v1.2.3