remove an unused variable
This commit is contained in:
1
lash.c
1
lash.c
@@ -631,7 +631,6 @@ static void mark_closed(int fd)
|
|||||||
|
|
||||||
static void close_all()
|
static void close_all()
|
||||||
{
|
{
|
||||||
int i=0;
|
|
||||||
struct close_me *c, *tmp;
|
struct close_me *c, *tmp;
|
||||||
for (c=close_me_head; c; c=tmp) {
|
for (c=close_me_head; c; c=tmp) {
|
||||||
close(c->fd);
|
close(c->fd);
|
||||||
|
1
sh.c
1
sh.c
@@ -631,7 +631,6 @@ static void mark_closed(int fd)
|
|||||||
|
|
||||||
static void close_all()
|
static void close_all()
|
||||||
{
|
{
|
||||||
int i=0;
|
|
||||||
struct close_me *c, *tmp;
|
struct close_me *c, *tmp;
|
||||||
for (c=close_me_head; c; c=tmp) {
|
for (c=close_me_head; c; c=tmp) {
|
||||||
close(c->fd);
|
close(c->fd);
|
||||||
|
@@ -631,7 +631,6 @@ static void mark_closed(int fd)
|
|||||||
|
|
||||||
static void close_all()
|
static void close_all()
|
||||||
{
|
{
|
||||||
int i=0;
|
|
||||||
struct close_me *c, *tmp;
|
struct close_me *c, *tmp;
|
||||||
for (c=close_me_head; c; c=tmp) {
|
for (c=close_me_head; c; c=tmp) {
|
||||||
close(c->fd);
|
close(c->fd);
|
||||||
|
Reference in New Issue
Block a user