[gimp/metadata-browser] file-xwd: Delete dead variable and assignment



commit 7021d1efd02bb79ff4fddcdd3632720b4b47b24d
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Oct 11 10:04:43 2011 +0530

    file-xwd: Delete dead variable and assignment

 plug-ins/common/file-xwd.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/common/file-xwd.c b/plug-ins/common/file-xwd.c
index 64587ba..4e8a95e 100644
--- a/plug-ins/common/file-xwd.c
+++ b/plug-ins/common/file-xwd.c
@@ -1831,7 +1831,7 @@ load_xwd_f1_d24_b1 (const gchar     *filename,
                     L_XWDCOLOR      *xwdcolmap)
 {
   register guchar *dest, outmask, inmask, do_reverse;
-  gint             width, height, linepad, i, j, plane, fromright;
+  gint             width, height, i, j, plane, fromright;
   gint             tile_height, tile_start, tile_end;
   gint             indexed, bytes_per_pixel;
   gint             maxred, maxgreen, maxblue;
@@ -1870,11 +1870,6 @@ load_xwd_f1_d24_b1 (const gchar     *filename,
   tile_height = gimp_tile_height ();
   data = g_malloc (tile_height * width * bytes_per_pixel);
 
-  linepad =   xwdhdr->l_bytes_per_line
-    - (xwdhdr->l_pixmap_width+7)/8;
-  if (linepad < 0)
-    linepad = 0;
-
   for (j = 0; j < 256; j++)   /* Create an array for reversing bits */
     {
       inmask = 0;



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