aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);