From be22a6216094814b00243a3da93fe177814a4e9b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 9 Sep 2009 22:40:44 -0400 Subject: Cleanups This commit removes dead code, mostly pointed out by clang. --- gdk-pixbuf/io-xpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdk-pixbuf') diff --git a/gdk-pixbuf/io-xpm.c b/gdk-pixbuf/io-xpm.c index 4d57cf2da5..b8a02d84cc 100644 --- a/gdk-pixbuf/io-xpm.c +++ b/gdk-pixbuf/io-xpm.c @@ -596,7 +596,7 @@ pixbuf_create_from_xpm (const gchar * (*get_buf) (enum buf_op op, gpointer handl if ((!buffer) || (strlen (buffer) < wbytes)) continue; - for (n = 0, cnt = 0, xcnt = 0; n < wbytes; n += cpp, xcnt++) { + for (n = 0, xcnt = 0; n < wbytes; n += cpp, xcnt++) { strncpy (pixel_str, &buffer[n], cpp); pixel_str[cpp] = 0; -- cgit v1.2.1