aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti/srv/mirrorarenas.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/venti/srv/mirrorarenas.c')
-rw-r--r--src/cmd/venti/srv/mirrorarenas.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmd/venti/srv/mirrorarenas.c b/src/cmd/venti/srv/mirrorarenas.c
index fd3e59b8..c0d02e65 100644
--- a/src/cmd/venti/srv/mirrorarenas.c
+++ b/src/cmd/venti/srv/mirrorarenas.c
@@ -63,7 +63,7 @@ enum
void
setstatus(int bits)
{
- static int startindx = -1, endindx;
+ static int startindx = -1;
static char *startname, *endname;
static int lastbits;
char buf[100];
@@ -91,16 +91,13 @@ setstatus(int bits)
}
lastbits = bits;
startindx = tagindx;
- endindx = tagindx;
startname = tagname;
endname = tagname;
} else {
- endindx = tagindx;
endname = tagname;
}
if(bits < 0) {
startindx = -1;
- endindx = -1;
return;
}
}