[gimp/metadata-browser] warp: Delete dead variable and assignment
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] warp: Delete dead variable and assignment
- Date: Fri, 2 Dec 2011 02:10:11 +0000 (UTC)
commit b537c5f99f959d9cd3a0c6e9580b643c29f7be48
Author: Mukund Sivaraman <muks banu com>
Date: Thu Oct 6 19:30:49 2011 +0530
warp: Delete dead variable and assignment
plug-ins/common/warp.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/warp.c b/plug-ins/common/warp.c
index 18dd639..785fe6f 100644
--- a/plug-ins/common/warp.c
+++ b/plug-ins/common/warp.c
@@ -1337,7 +1337,6 @@ warp_one (GimpDrawable *draw,
gdouble dx, dy; /* X and Y Displacement, integer from GRAY map */
- gint xm_alpha = 0;
gint mmag_alpha = 0;
gint xm_bytes = 1;
gint ym_bytes = 1;
@@ -1384,9 +1383,6 @@ warp_one (GimpDrawable *draw,
gimp_pixel_rgn_init (&map_x_rgn,
map_x, x1, y1, (x2 - x1), (y2 - y1), FALSE, FALSE);
- if (gimp_drawable_has_alpha(map_x->drawable_id))
- xm_alpha = 1;
-
xm_bytes = gimp_drawable_bpp(map_x->drawable_id);
gimp_pixel_rgn_init (&map_y_rgn,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]