diff options
author | rsc <devnull@localhost> | 2007-04-23 14:40:54 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-04-23 14:40:54 +0000 |
commit | 07029cdbbd9be6ad780bd594c98d26babec7ee67 (patch) | |
tree | 55c1a64414faa236c67ae710c9aaf2b99aed8be7 /src/cmd/venti/srv/index.c | |
parent | 8d271d6cc3e14e5f7817dfbad2148ca86a6097a6 (diff) | |
download | plan9port-07029cdbbd9be6ad780bd594c98d26babec7ee67.tar.gz plan9port-07029cdbbd9be6ad780bd594c98d26babec7ee67.tar.bz2 plan9port-07029cdbbd9be6ad780bd594c98d26babec7ee67.zip |
cleanup
Diffstat (limited to 'src/cmd/venti/srv/index.c')
-rw-r--r-- | src/cmd/venti/srv/index.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd/venti/srv/index.c b/src/cmd/venti/srv/index.c index 87361aa9..16b37a07 100644 --- a/src/cmd/venti/srv/index.c +++ b/src/cmd/venti/srv/index.c @@ -243,7 +243,7 @@ newindex(char *name, ISect **sects, int n) Index *ix; AMap *smap; u64int nb; - u32int div, ub, xb, fb, start, stop, blocksize, tabsize; + u32int div, ub, xb, start, stop, blocksize, tabsize; int i, j; if(n < 1){ @@ -292,7 +292,6 @@ newindex(char *name, ISect **sects, int n) return nil; } - fb = 0; div = (((u64int)1 << 32) + nb - 1) / nb; ub = (((u64int)1 << 32) - 1) / div + 1; if(div < 100){ @@ -347,7 +346,6 @@ newindex(char *name, ISect **sects, int n) ix->buckets = ub; ix->tabsize = tabsize; ix->div = div; - ix->bitblocks = fb; if(initindex1(ix) < 0){ free(smap); |