aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-07 03:51:27 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-07 03:51:27 +0000
commit11ae573320e4acc8f74724ca2aef0a2bd6b72bf2 (patch)
treef86d6322221c21e1264c3f8fd956906521db063b
parent7850f1e2ac9ef6e9c859c86e35e2265f6367ab20 (diff)
downloadbusybox-w32-11ae573320e4acc8f74724ca2aef0a2bd6b72bf2.tar.gz
busybox-w32-11ae573320e4acc8f74724ca2aef0a2bd6b72bf2.tar.bz2
busybox-w32-11ae573320e4acc8f74724ca2aef0a2bd6b72bf2.zip
remove an unused variable
-rw-r--r--lash.c1
-rw-r--r--sh.c1
-rw-r--r--shell/lash.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/lash.c b/lash.c
index 72d8bb38b..150055bb1 100644
--- a/lash.c
+++ b/lash.c
@@ -631,7 +631,6 @@ static void mark_closed(int fd)
631 631
632static void close_all() 632static 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/sh.c b/sh.c
index 72d8bb38b..150055bb1 100644
--- a/sh.c
+++ b/sh.c
@@ -631,7 +631,6 @@ static void mark_closed(int fd)
631 631
632static void close_all() 632static 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
632static void close_all() 632static 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);