commit 2a33cd4e1a115e3f6ddfc97a723815aad57f763f
parent c4c1c1b873200c29f26efe3e832966e9d4e786b0
Author: ukai <ukai>
Date: Mon, 8 Nov 2004 17:14:06 +0000
* w3mimg/fb/fb_gdkpixbuf.c (fb_image_load):
fix unused variable `i'
* w3mimg/x11/x11_w3mimg.c (x11_load_image):
ditto
Diffstat:
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,10 @@
+2004-11-09 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load):
+ fix unused variable `i'
+ * w3mimg/x11/x11_w3mimg.c (x11_load_image):
+ ditto
+
2004-11-09 Hiroyuki Ito <ZXB01226@nifty.com>
* [w3m-dev 04128] Re: w3mimgdisplay
diff --git a/w3mimg/fb/fb_gdkpixbuf.c b/w3mimg/fb/fb_gdkpixbuf.c
@@ -118,10 +118,11 @@ fb_image_load(char *filename, int w, int h, int max_anim)
GdkPixbufAnimationIter *iter;
GTimeVal time;
#else
+ int i;
GList *frames;
#endif
double ratio_w, ratio_h;
- int n, i, j, fw, fh, frame_num, delay;
+ int n, j, fw, fh, frame_num, delay;
FB_IMAGE **fb_frame = NULL, *tmp_image = NULL;
if (filename == NULL)
diff --git a/w3mimg/x11/x11_w3mimg.c b/w3mimg/x11/x11_w3mimg.c
@@ -330,7 +330,7 @@ x11_load_image(w3mimg_op * self, W3MImage * img, char *fname, int w, int h)
Imlib_Image im;
#elif defined(USE_GDKPIXBUF)
GdkPixbufAnimation *animation;
- int i, j, iw, ih, n, frame_num, delay = -1, max_anim;
+ int j, iw, ih, n, frame_num, delay = -1, max_anim;
double ratio_w, ratio_h;
struct x11_image *ximg;
Pixmap tmp_pixmap;
@@ -338,6 +338,7 @@ x11_load_image(w3mimg_op * self, W3MImage * img, char *fname, int w, int h)
GdkPixbufAnimationIter *iter;
GTimeVal time;
#else
+ int i;
GList *frames;
#endif
#endif