From 0b0ee55a7cfb4b0e980d8910329093dcd1948951 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 8 Nov 2004 17:14:06 +0000 Subject: * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): fix unused variable `i' * w3mimg/x11/x11_w3mimg.c (x11_load_image): ditto --- w3mimg/fb/fb_gdkpixbuf.c | 5 +++-- w3mimg/x11/x11_w3mimg.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'w3mimg') 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 #include #include @@ -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 -- cgit v1.2.3