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/stasis/app.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'res/stasis') diff --git a/res/stasis/app.c b/res/stasis/app.c index 54ee5898e..d9eef4c66 100644 --- a/res/stasis/app.c +++ b/res/stasis/app.c @@ -387,7 +387,6 @@ static struct ast_json *channel_dialplan( struct ast_channel_snapshot *new_snapshot, const struct timeval *tv) { - RAII_VAR(struct ast_json *, json, NULL, ast_json_unref); struct ast_json *json_channel; /* No Newexten event on cache clear or first event */ @@ -422,7 +421,6 @@ static struct ast_json *channel_callerid( struct ast_channel_snapshot *new_snapshot, const struct timeval *tv) { - RAII_VAR(struct ast_json *, json, NULL, ast_json_unref); struct ast_json *json_channel; /* No NewCallerid event on cache clear or first event */ -- cgit v1.2.3