summaryrefslogtreecommitdiff
path: root/src/gd_gif_in.c
diff options
context:
space:
mode:
authortabe <none@none>2013-02-11 12:06:21 +0900
committertabe <none@none>2013-02-11 12:06:21 +0900
commit535eab566b4a412eef21347653fb98a48857d169 (patch)
tree63eace35d50039bc46a03edbc22ca3861f6c836b /src/gd_gif_in.c
parentc18dfcd3cddcd526b8a4c5de9175049d6276c0e5 (diff)
downloadlibgd-535eab566b4a412eef21347653fb98a48857d169.tar.gz
fix -Wunused-but-set-variable
Diffstat (limited to 'src/gd_gif_in.c')
-rw-r--r--src/gd_gif_in.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gd_gif_in.c b/src/gd_gif_in.c
index 020fdbb..fff77db 100644
--- a/src/gd_gif_in.c
+++ b/src/gd_gif_in.c
@@ -137,7 +137,7 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx(gdIOCtxPtr fd)
unsigned char ColorMap[3][MAXCOLORMAPSIZE];
unsigned char localColorMap[3][MAXCOLORMAPSIZE];
int imw, imh, screen_width, screen_height;
- int gif87a, useGlobalColormap;
+ int useGlobalColormap;
int bitPixel, i;
/*1.4//int imageCount = 0; */
/* 2.0.28: threadsafe storage */
@@ -155,9 +155,9 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx(gdIOCtxPtr fd)
}
if(memcmp((char *)buf + 3, "87a", 3) == 0) {
- gif87a = 1;
+ /* GIF87a */
} else if(memcmp((char *)buf + 3, "89a", 3) == 0) {
- gif87a = 0;
+ /* GIF89a */
} else {
return 0;
}