From f089014a85e34648a20b3229d861da974a501fa1 Mon Sep 17 00:00:00 2001 From: russell Date: Mon, 30 Jul 2007 18:55:15 +0000 Subject: file and I both committed changes for issue #10301. Remove a duplicated assignment to restore the original value of the previous channel. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77785 f38db490-d61c-443f-a65b-d21fe96a405b --- main/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/channel.c b/main/channel.c index a34577772..c34fcba84 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1034,7 +1034,7 @@ static struct ast_channel *channel_find_locked(const struct ast_channel *prev, struct ast_channel *c; const struct ast_channel *_prev = prev; - for (retries = 0; retries < 10; retries++, prev = _prev) { + for (retries = 0; retries < 10; retries++) { int done; AST_LIST_LOCK(&channels); AST_LIST_TRAVERSE(&channels, c, chan_list) { -- cgit v1.2.3