aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/fossil/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/fossil/cache.c')
-rw-r--r--src/cmd/fossil/cache.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cmd/fossil/cache.c b/src/cmd/fossil/cache.c
index f473d211..f37a7101 100644
--- a/src/cmd/fossil/cache.c
+++ b/src/cmd/fossil/cache.c
@@ -283,7 +283,6 @@ cacheCheck(Cache *c)
{
u32int size, now;
int i, k, refed;
- static uchar zero[VtScoreSize];
Block *b;
size = c->size;
@@ -460,11 +459,6 @@ _cacheLocalLookup(Cache *c, int part, u32int addr, u32int vers,
}
/* NOT REACHED */
}
-static Block*
-cacheLocalLookup(Cache *c, int part, u32int addr, u32int vers)
-{
- return _cacheLocalLookup(c, part, addr, vers, Waitlock, 0);
-}
/*
@@ -977,9 +971,7 @@ int
blockSetLabel(Block *b, Label *l, int allocating)
{
Block *lb;
- Label oldl;
- oldl = b->l;
lb = _blockSetLabel(b, l);
if(lb == nil)
return 0;