summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2013-05-29 19:54:01 +0000
committerJason Parker <jparker@digium.com>2013-05-29 19:54:01 +0000
commitfa98eb2aeae9858832c1ed45b4e2e62204e2b208 (patch)
tree3ccb4795c7149858fb19c12bb0d4e1279adf4708 /main
parent071c1e290d5bf93a31d8c6ba2a7e08c634d9aac2 (diff)
Remove unused RAII vars.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/channel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/main/channel.c b/main/channel.c
index 8d6262521..d32a8c883 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -1366,7 +1366,6 @@ static void publish_channel_blob(struct ast_channel *chan,
/*! \brief Queue a hangup frame for channel */
int ast_queue_hangup(struct ast_channel *chan)
{
- RAII_VAR(struct stasis_message *, message, NULL, ao2_cleanup);
struct ast_frame f = { AST_FRAME_CONTROL, .subclass.integer = AST_CONTROL_HANGUP };
int res;
@@ -1384,7 +1383,6 @@ int ast_queue_hangup(struct ast_channel *chan)
int ast_queue_hangup_with_cause(struct ast_channel *chan, int cause)
{
RAII_VAR(struct ast_json *, blob, NULL, ast_json_unref);
- RAII_VAR(struct stasis_message *, message, NULL, ao2_cleanup);
struct ast_frame f = { AST_FRAME_CONTROL, .subclass.integer = AST_CONTROL_HANGUP };
int res;
@@ -1410,7 +1408,6 @@ int ast_queue_hangup_with_cause(struct ast_channel *chan, int cause)
int ast_queue_hold(struct ast_channel *chan, const char *musicclass)
{
RAII_VAR(struct ast_json *, blob, NULL, ast_json_unref);
- RAII_VAR(struct stasis_message *, message, NULL, ao2_cleanup);
struct ast_frame f = { AST_FRAME_CONTROL, .subclass.integer = AST_CONTROL_HOLD };
int res;
@@ -1430,7 +1427,6 @@ int ast_queue_hold(struct ast_channel *chan, const char *musicclass)
int ast_queue_unhold(struct ast_channel *chan)
{
- RAII_VAR(struct stasis_message *, message, NULL, ao2_cleanup);
struct ast_frame f = { AST_FRAME_CONTROL, .subclass.integer = AST_CONTROL_UNHOLD };
int res;