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 72d8bb38b8c4710f4ce65b3ab96b4e2a98c5204f..150055bb142b00f62ac4e73c02453e350adb9571 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 72d8bb38b8c4710f4ce65b3ab96b4e2a98c5204f..150055bb142b00f62ac4e73c02453e350adb9571 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 72d8bb38b8c4710f4ce65b3ab96b4e2a98c5204f..150055bb142b00f62ac4e73c02453e350adb9571 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);