aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dicache.c2
-rw-r--r--src/dicache.h1
2 files changed, 0 insertions, 3 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;
}
diff --git a/src/dicache.h b/src/dicache.h
index 70e5d9de..ae8b2f37 100644
--- a/src/dicache.h
+++ b/src/dicache.h
@@ -33,7 +33,6 @@ struct _DICacheEntry {
uchar_t *cmap; /* Color map */
void *v_imgbuf; /* Void pointer to an Imgbuf object */
uint_t TotalSize; /* Amount of memory the image takes up */
- int Y; /* Current decoding row */
uint_t ScanNumber; /* Current decoding scan */
bitvec_t *BitVec; /* Bit vector for decoded rows */
DicEntryState State; /* Current status for this entry */