Fossil SCM

Removed an unused struct member contentCache::skipCnt.

stephan 2013-08-09 18:35 trunk
Commit 65f49c99d0cd492fdfaffdda23b6f4536315f645
1 file changed -1
--- src/content.c
+++ src/content.c
@@ -27,11 +27,10 @@
2727
static struct {
2828
i64 szTotal; /* Total size of all entries in the cache */
2929
int n; /* Current number of cache entries */
3030
int nAlloc; /* Number of slots allocated in a[] */
3131
int nextAge; /* Age counter for implementing LRU */
32
- int skipCnt; /* Used to limit entries expelled from cache */
3332
struct cacheLine { /* One instance of this for each cache entry */
3433
int rid; /* Artifact id */
3534
int age; /* Age. Newer is larger */
3635
Blob content; /* Content of the artifact */
3736
} *a; /* The positive cache */
3837
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button