This commit removes dead code, mostly pointed out by clang.
This commit is contained in:
Matthias Clasen
2009-09-09 22:40:44 -04:00
parent 7124f5927a
commit be22a62160
10 changed files with 16 additions and 51 deletions

View File

@ -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;