Fossil SCM
Removed an unused struct member contentCache::skipCnt.
Commit
65f49c99d0cd492fdfaffdda23b6f4536315f645
Parent
0e822db7f125e1e…
1 file changed
-1
-1
| --- src/content.c | ||
| +++ src/content.c | ||
| @@ -27,11 +27,10 @@ | ||
| 27 | 27 | static struct { |
| 28 | 28 | i64 szTotal; /* Total size of all entries in the cache */ |
| 29 | 29 | int n; /* Current number of cache entries */ |
| 30 | 30 | int nAlloc; /* Number of slots allocated in a[] */ |
| 31 | 31 | int nextAge; /* Age counter for implementing LRU */ |
| 32 | - int skipCnt; /* Used to limit entries expelled from cache */ | |
| 33 | 32 | struct cacheLine { /* One instance of this for each cache entry */ |
| 34 | 33 | int rid; /* Artifact id */ |
| 35 | 34 | int age; /* Age. Newer is larger */ |
| 36 | 35 | Blob content; /* Content of the artifact */ |
| 37 | 36 | } *a; /* The positive cache */ |
| 38 | 37 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -27,11 +27,10 @@ | |
| 27 | static struct { |
| 28 | i64 szTotal; /* Total size of all entries in the cache */ |
| 29 | int n; /* Current number of cache entries */ |
| 30 | int nAlloc; /* Number of slots allocated in a[] */ |
| 31 | int nextAge; /* Age counter for implementing LRU */ |
| 32 | int skipCnt; /* Used to limit entries expelled from cache */ |
| 33 | struct cacheLine { /* One instance of this for each cache entry */ |
| 34 | int rid; /* Artifact id */ |
| 35 | int age; /* Age. Newer is larger */ |
| 36 | Blob content; /* Content of the artifact */ |
| 37 | } *a; /* The positive cache */ |
| 38 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -27,11 +27,10 @@ | |
| 27 | static struct { |
| 28 | i64 szTotal; /* Total size of all entries in the cache */ |
| 29 | int n; /* Current number of cache entries */ |
| 30 | int nAlloc; /* Number of slots allocated in a[] */ |
| 31 | int nextAge; /* Age counter for implementing LRU */ |
| 32 | struct cacheLine { /* One instance of this for each cache entry */ |
| 33 | int rid; /* Artifact id */ |
| 34 | int age; /* Age. Newer is larger */ |
| 35 | Blob content; /* Content of the artifact */ |
| 36 | } *a; /* The positive cache */ |
| 37 |