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) 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 72d8bb38b..150055bb1 100644 --- 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); 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) static void close_all() { - int i=0; struct close_me *c, *tmp; for (c=close_me_head; c; c=tmp) { close(c->fd);