remove an unused variable
authorEric Andersen <andersen@codepoet.org>
Wed, 7 Mar 2001 03:51:27 +0000 (03:51 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 7 Mar 2001 03:51:27 +0000 (03:51 -0000)
lash.c
sh.c
shell/lash.c

diff --git a/lash.c b/lash.c
index 72d8bb3..150055b 100644 (file)
--- a/lash.c
+++ b/lash.c
@@ -631,7 +631,6 @@ static void mark_closed(int fd)
 
 static void close_all()
 {
-       int i=0;
        struct close_me *c, *tmp;
        for (c=close_me_head; c; c=tmp) {
                close(c->fd);
diff --git a/sh.c b/sh.c
index 72d8bb3..150055b 100644 (file)
--- a/sh.c
+++ b/sh.c
@@ -631,7 +631,6 @@ static void mark_closed(int fd)
 
 static void close_all()
 {
-       int i=0;
        struct close_me *c, *tmp;
        for (c=close_me_head; c; c=tmp) {
                close(c->fd);
index 72d8bb3..150055b 100644 (file)
@@ -631,7 +631,6 @@ static void mark_closed(int fd)
 
 static void close_all()
 {
-       int i=0;
        struct close_me *c, *tmp;
        for (c=close_me_head; c; c=tmp) {
                close(c->fd);