summaryrefslogtreecommitdiff
path: root/res/res_parking.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_parking.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_parking.c')
-rw-r--r--res/res_parking.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/res/res_parking.c b/res/res_parking.c
index 6d07818de..c36d558b6 100644
--- a/res/res_parking.c
+++ b/res/res_parking.c
@@ -689,7 +689,6 @@ static int parking_add_extension(struct ast_context *context, int replace, const
static int extension_is_compatible(struct parking_lot_cfg *lot_cfg, const char *app_type, struct ast_exten *extension)
{
- RAII_VAR(struct parking_lot_cfg *, owner, NULL, ao2_cleanup);
const char *extension_registrar = ast_get_extension_registrar(extension);
const char *extension_context = ast_get_context_name(ast_get_extension_context(extension));
const char *extension_name = ast_get_extension_name(extension);