aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-30 18:55:15 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-30 18:55:15 +0000
commitf089014a85e34648a20b3229d861da974a501fa1 (patch)
tree41aa3c5acf85da90e8426511f4c18ec6641ff39b /main
parent1960b058550155954be8274f16c2fb6ef876f264 (diff)
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
Diffstat (limited to 'main')
-rw-r--r--main/channel.c2
1 files changed, 1 insertions, 1 deletions
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) {