[gimp/gimp-2-6] file-xwd: Delete dead variable and assignment (cherry picked from commit f3d6e1ce8c547deed4fca412c96
- From: Nils Philippsen <nphilipp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-6] file-xwd: Delete dead variable and assignment (cherry picked from commit f3d6e1ce8c547deed4fca412c96
- Date: Wed, 27 Mar 2013 15:27:00 +0000 (UTC)
commit 7a5fc5b07eb3c4cc8bc50b6ed10090bcc4e26c5b
Author: Mukund Sivaraman <muks banu com>
Date: Tue Oct 11 10:04:43 2011 +0530
file-xwd: Delete dead variable and assignment
(cherry picked from commit f3d6e1ce8c547deed4fca412c96a8421e153b697)
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 52fe016..0eb82af 100644
--- a/plug-ins/common/file-xwd.c
+++ b/plug-ins/common/file-xwd.c
@@ -1821,7 +1821,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;
@@ -1860,11 +1860,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]