summaryrefslogtreecommitdiff
path: root/res/res_fax.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2014-04-15 18:01:47 +0000
committerRichard Mudgett <rmudgett@digium.com>2014-04-15 18:01:47 +0000
commit45ade68cb48baad5f4f994fae6fe52211f379f70 (patch)
tree618aa6b37ae7714daa6090c4e7f2a9bc8ded1c0d /res/res_fax.c
parentd28af99e65c79f5bb1d336218f37de32313181db (diff)
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
Diffstat (limited to 'res/res_fax.c')
-rw-r--r--res/res_fax.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/res/res_fax.c b/res/res_fax.c
index e05b101f7..4f253b758 100644
--- a/res/res_fax.c
+++ b/res/res_fax.c
@@ -1175,7 +1175,6 @@ static char *generate_filenames_string(struct ast_fax_session_details *details,
static int report_fax_status(struct ast_channel *chan, struct ast_fax_session_details *details, const char *status)
{
RAII_VAR(struct ast_json *, json_object, NULL, ast_json_unref);
- RAII_VAR(struct ast_channel_snapshot *, snapshot, NULL, ao2_cleanup);
RAII_VAR(struct stasis_message *, message, NULL, ao2_cleanup);
struct ast_json *json_filenames = NULL;