From 11ae573320e4acc8f74724ca2aef0a2bd6b72bf2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 7 Mar 2001 03:51:27 +0000 Subject: [PATCH] remove an unused variable --- lash.c | 1 - sh.c | 1 - shell/lash.c | 1 - 3 files changed, 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) 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);