diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2004-11-08 17:14:06 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2004-11-08 17:14:06 +0000 |
commit | 0b0ee55a7cfb4b0e980d8910329093dcd1948951 (patch) | |
tree | 1fb4a1a4e52c79f807e2081ce215df4a4e990de3 | |
parent | [w3m-dev 04128] Re: w3mimgdisplay (diff) | |
download | w3m-0b0ee55a7cfb4b0e980d8910329093dcd1948951.tar.gz w3m-0b0ee55a7cfb4b0e980d8910329093dcd1948951.zip |
* w3mimg/fb/fb_gdkpixbuf.c (fb_image_load):
fix unused variable `i'
* w3mimg/x11/x11_w3mimg.c (x11_load_image):
ditto
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | w3mimg/fb/fb_gdkpixbuf.c | 5 | ||||
-rw-r--r-- | w3mimg/x11/x11_w3mimg.c | 5 |
3 files changed, 14 insertions, 5 deletions
@@ -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 @@ -8605,4 +8612,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.941 2004/11/08 17:08:09 ukai Exp $ +$Id: ChangeLog,v 1.942 2004/11/08 17:14:06 ukai Exp $ diff --git a/w3mimg/fb/fb_gdkpixbuf.c b/w3mimg/fb/fb_gdkpixbuf.c index 798f573..36e3b62 100644 --- a/w3mimg/fb/fb_gdkpixbuf.c +++ b/w3mimg/fb/fb_gdkpixbuf.c @@ -1,4 +1,4 @@ -/* $Id: fb_gdkpixbuf.c,v 1.20 2004/11/08 17:08:10 ukai Exp $ */ +/* $Id: fb_gdkpixbuf.c,v 1.21 2004/11/08 17:14:06 ukai Exp $ */ /************************************************************************** fb_gdkpixbuf.c 0.3 Copyright (C) 2002, hito **************************************************************************/ @@ -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 index e47dcdc..f5be4a8 100644 --- a/w3mimg/x11/x11_w3mimg.c +++ b/w3mimg/x11/x11_w3mimg.c @@ -1,4 +1,4 @@ -/* $Id: x11_w3mimg.c,v 1.28 2004/11/08 17:08:10 ukai Exp $ */ +/* $Id: x11_w3mimg.c,v 1.29 2004/11/08 17:14:06 ukai Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -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 |