diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-09-09 22:40:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-09-10 13:53:28 -0400 |
commit | be22a6216094814b00243a3da93fe177814a4e9b (patch) | |
tree | 2c967afbee00f3ae22d3ee3b4eafbaae36659761 /gdk-pixbuf | |
parent | 7124f5927ae96d13ea74268b73c62293b0243ddd (diff) | |
download | gdk-pixbuf-be22a6216094814b00243a3da93fe177814a4e9b.tar.gz |
Cleanups
This commit removes dead code, mostly pointed out by clang.
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/io-xpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/io-xpm.c b/gdk-pixbuf/io-xpm.c index 4d57cf2da..b8a02d84c 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; |