[gimp] file-xwd: Remove dead assignments (and variable)
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-xwd: Remove dead assignments (and variable)
- Date: Mon, 3 Oct 2011 08:01:23 +0000 (UTC)
commit 2d56f6445daa287ed653b10b0f14cf6bce1a02d3
Author: Mukund Sivaraman <muks banu com>
Date: Mon Oct 3 13:08:17 2011 +0530
file-xwd: Remove dead assignments (and variable)
plug-ins/common/file-xwd.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/common/file-xwd.c b/plug-ins/common/file-xwd.c
index 3d0ea54..8277677 100644
--- a/plug-ins/common/file-xwd.c
+++ b/plug-ins/common/file-xwd.c
@@ -1225,7 +1225,7 @@ load_xwd_f2_d1_b1 (const gchar *filename,
register int pix8;
register guchar *dest, *src;
guchar c1, c2, c3, c4;
- gint width, height, linepad, scan_lines, tile_height;
+ gint width, height, scan_lines, tile_height;
gint i, j, ncols;
gchar *temp;
guchar bit2byte[256 * 8];
@@ -1275,10 +1275,6 @@ load_xwd_f2_d1_b1 (const gchar *filename,
*(temp++) = ((j & (1 << i)) != 0);
}
- linepad = xwdhdr->l_bytes_per_line - (xwdhdr->l_pixmap_width+7)/8;
- if (linepad < 0)
- linepad = 0;
-
dest = data;
scan_lines = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]