[gimp] file-xwd: Don't bother with return value of set_pixelmap()



commit ba71d7b40fd01208446017f88228d56eef9726e2
Author: Mukund Sivaraman <muks banu com>
Date:   Sat Oct 8 18:37:58 2011 +0530

    file-xwd: Don't bother with return value of set_pixelmap()

 plug-ins/common/file-xwd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-xwd.c b/plug-ins/common/file-xwd.c
index 851fd3f..1b4cec3 100644
--- a/plug-ins/common/file-xwd.c
+++ b/plug-ins/common/file-xwd.c
@@ -1696,7 +1696,7 @@ load_xwd_f2_d24_b32 (const gchar     *filename,
   ncols = xwdhdr->l_colormap_entries;
   if (xwdhdr->l_ncolors < ncols) ncols = xwdhdr->l_ncolors;
 
-  ncols = set_pixelmap (ncols, xwdcolmap, &pixel_map);
+  set_pixelmap (ncols, xwdcolmap, &pixel_map);
 
   /* What do we have to consume after a line has finished ? */
   linepad =   xwdhdr->l_bytes_per_line
@@ -1939,7 +1939,7 @@ load_xwd_f1_d24_b1 (const gchar     *filename,
     }
   else
     {
-      ncols = set_pixelmap (ncols, xwdcolmap, &pixel_map);
+      set_pixelmap (ncols, xwdcolmap, &pixel_map);
     }
 
   do_reverse = !xwdhdr->l_bitmap_bit_order;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]