aboutsummaryrefslogtreecommitdiff
path: root/src/dicache.c
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-01-31 17:56:09 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-01-31 17:56:09 -0300
commit3d9d0faeb95ee9cf09ea43a4331ccb128dd0e827 (patch)
treeb5c114e10b59998752dd7bc4cfb1d02eb95082d4 /src/dicache.c
parentca2f9e3d6d9a969e83f826f88e68f353134d5916 (diff)
Removed an unused variable in DicEntry structure
Diffstat (limited to 'src/dicache.c')
-rw-r--r--src/dicache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dicache.c b/src/dicache.c
index 6ec1c7d8..939ebff0 100644
--- a/src/dicache.c
+++ b/src/dicache.c
@@ -92,7 +92,6 @@ static DICacheEntry *Dicache_entry_new(void)
entry->v_imgbuf = NULL;
entry->RefCount = 1;
entry->TotalSize = 0;
- entry->Y = 0;
entry->ScanNumber = 0;
entry->BitVec = NULL;
entry->State = DIC_Empty;
@@ -350,7 +349,6 @@ void a_Dicache_write(DilloImage *Image, DilloUrl *url, int version,
a_Imgbuf_update(DicEntry->v_imgbuf, buf, DicEntry->type,
DicEntry->cmap, DicEntry->width, DicEntry->height, Y);
- DicEntry->Y = Y;
a_Bitvec_set_bit(DicEntry->BitVec, (int)Y);
DicEntry->State = DIC_Write;
}