diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-07 03:51:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-07 03:51:27 +0000 |
commit | 11ae573320e4acc8f74724ca2aef0a2bd6b72bf2 (patch) | |
tree | f86d6322221c21e1264c3f8fd956906521db063b | |
parent | 7850f1e2ac9ef6e9c859c86e35e2265f6367ab20 (diff) | |
download | busybox-w32-11ae573320e4acc8f74724ca2aef0a2bd6b72bf2.tar.gz busybox-w32-11ae573320e4acc8f74724ca2aef0a2bd6b72bf2.tar.bz2 busybox-w32-11ae573320e4acc8f74724ca2aef0a2bd6b72bf2.zip |
remove an unused variable
-rw-r--r-- | lash.c | 1 | ||||
-rw-r--r-- | sh.c | 1 | ||||
-rw-r--r-- | shell/lash.c | 1 |
3 files changed, 0 insertions, 3 deletions
@@ -631,7 +631,6 @@ static void mark_closed(int fd) | |||
631 | 631 | ||
632 | static void close_all() | 632 | static void close_all() |
633 | { | 633 | { |
634 | int i=0; | ||
635 | struct close_me *c, *tmp; | 634 | struct close_me *c, *tmp; |
636 | for (c=close_me_head; c; c=tmp) { | 635 | for (c=close_me_head; c; c=tmp) { |
637 | close(c->fd); | 636 | close(c->fd); |
@@ -631,7 +631,6 @@ static void mark_closed(int fd) | |||
631 | 631 | ||
632 | static void close_all() | 632 | static void close_all() |
633 | { | 633 | { |
634 | int i=0; | ||
635 | struct close_me *c, *tmp; | 634 | struct close_me *c, *tmp; |
636 | for (c=close_me_head; c; c=tmp) { | 635 | for (c=close_me_head; c; c=tmp) { |
637 | close(c->fd); | 636 | close(c->fd); |
diff --git a/shell/lash.c b/shell/lash.c index 72d8bb38b..150055bb1 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -631,7 +631,6 @@ static void mark_closed(int fd) | |||
631 | 631 | ||
632 | static void close_all() | 632 | static void close_all() |
633 | { | 633 | { |
634 | int i=0; | ||
635 | struct close_me *c, *tmp; | 634 | struct close_me *c, *tmp; |
636 | for (c=close_me_head; c; c=tmp) { | 635 | for (c=close_me_head; c; c=tmp) { |
637 | close(c->fd); | 636 | close(c->fd); |