aboutsummaryrefslogtreecommitdiff
path: root/src/gif.c
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-10-08 17:38:53 +0000
committercorvid <corvid@lavabit.com>2012-10-08 17:38:53 +0000
commit5607947f2c3ea9bb8f764c944093b8bf278a4a33 (patch)
treeb56763507db735808c55a9ce823693b1308bd55b /src/gif.c
parent8bf0c66790637b072ff04746e80f97ee5485428b (diff)
unused field in gif
Diffstat (limited to 'src/gif.c')
-rw-r--r--src/gif.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gif.c b/src/gif.c
index 6911bc87..054fffee 100644
--- a/src/gif.c
+++ b/src/gif.c
@@ -103,7 +103,9 @@ typedef struct _DilloGif {
size_t ColorMap_ofs;
uint_t ColorResolution;
uint_t NumColors;
+#if 0
int Background;
+#endif
uint_t spill_line_index;
#if 0
uint_t AspectRatio; /* AspectRatio (not used) */
@@ -163,7 +165,9 @@ void *a_Gif_new(DilloImage *Image, DilloUrl *url, int version)
gif->state = 0;
gif->Start_Ofs = 0;
gif->linebuf = NULL;
+#if 0
gif->Background = -1;
+#endif
gif->transparent = -1;
gif->num_spill_lines_max = 0;
gif->spill_lines = NULL;
@@ -771,7 +775,7 @@ static size_t Gif_get_descriptor(DilloGif *gif, void *Buf,
if (!mysize)
return 0;
Size += mysize; /* Size of the color table that follows */
- gif->Background = buf[5];
+ /* gif->Background = buf[5]; */
}
/* gif->Width = LM_to_uint(buf[0], buf[1]);
gif->Height = LM_to_uint(buf[2], buf[3]); */