[gimp/metadata-browser] warp: Remove dead assignment
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] warp: Remove dead assignment
- Date: Fri, 2 Dec 2011 02:02:43 +0000 (UTC)
commit febc993e22e8d758c2d7089612a53485b08ca361
Author: Mukund Sivaraman <muks banu com>
Date: Mon Oct 3 12:56:24 2011 +0530
warp: Remove dead 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 b136038..4746e42 100644
--- a/plug-ins/common/warp.c
+++ b/plug-ins/common/warp.c
@@ -1340,7 +1340,6 @@ warp_one (GimpDrawable *draw,
gdouble dx, dy; /* X and Y Displacement, integer from GRAY map */
gint xm_alpha = 0;
- gint ym_alpha = 0;
gint mmag_alpha = 0;
gint xm_bytes = 1;
gint ym_bytes = 1;
@@ -1395,9 +1394,6 @@ warp_one (GimpDrawable *draw,
gimp_pixel_rgn_init (&map_y_rgn,
map_y, x1, y1, (x2 - x1), (y2 - y1), FALSE, FALSE);
- if (gimp_drawable_has_alpha(map_y->drawable_id))
- ym_alpha = 1;
-
ym_bytes = gimp_drawable_bpp(map_y->drawable_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]