[gimp/metadata-browser] file-xwd: Remove dead assignments (and variable)
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] file-xwd: Remove dead assignments (and variable)
- Date: Fri, 2 Dec 2011 02:02:53 +0000 (UTC)
commit 0a5c6b332ae3f0dd59859d51239519e5aef26b4b
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]