aboutsummaryrefslogtreecommitdiff
path: root/src/libventi/file.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-06-16 16:43:22 +0000
committerrsc <devnull@localhost>2004-06-16 16:43:22 +0000
commit0c148046ed2d597f9eca97e03c8a0592016c8c10 (patch)
tree2a37fa281a8ac86d5a7cdd54f5964f90e20d6cf0 /src/libventi/file.c
parent39ef727f465306bad804814e58ee0a94224c9fec (diff)
downloadplan9port-0c148046ed2d597f9eca97e03c8a0592016c8c10.tar.gz
plan9port-0c148046ed2d597f9eca97e03c8a0592016c8c10.tar.bz2
plan9port-0c148046ed2d597f9eca97e03c8a0592016c8c10.zip
fix problem in cache.
Diffstat (limited to 'src/libventi/file.c')
-rw-r--r--src/libventi/file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libventi/file.c b/src/libventi/file.c
index 50e99f3c..0b487078 100644
--- a/src/libventi/file.c
+++ b/src/libventi/file.c
@@ -661,9 +661,7 @@ static int
mkindices(VtEntry *e, u32int bn, int *index)
{
int i, np;
- u32int obn;
- obn = bn;
memset(index, 0, VtPointerDepth*sizeof(int));
np = e->psize/VtScoreSize;
@@ -772,7 +770,6 @@ vtfileblockscore(VtFile *r, u32int bn, uchar score[VtScoreSize])
return 0;
Err:
-fprint(2, "vtfileblockhash: %r\n");
vtblockput(b);
return -1;
}