diff --git a/main/features.c b/main/features.c index 6121a20e47..9ad0354ba9 100644 --- a/main/features.c +++ b/main/features.c @@ -3070,7 +3070,7 @@ static int park_exec(struct ast_channel *chan, void *data) /* Simulate the PBX hanging up */ ast_hangup(peer); - return res; + return -1; } else { /*! \todo XXX Play a message XXX */ if (ast_stream_and_wait(chan, "pbx-invalidpark", "")) @@ -3079,7 +3079,7 @@ static int park_exec(struct ast_channel *chan, void *data) res = -1; } - return res; + return -1; } /*!