[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:13:37 +0000 (UTC)
commit b15e0cd009ff18c1904edaf42d47ee7a41391bc9
Author: Mukund Sivaraman <muks banu com>
Date: Sat Oct 8 18:11:36 2011 +0530
warp: Delete dead variable and assignment
plug-ins/common/warp.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/warp.c b/plug-ins/common/warp.c
index 785fe6f..64d6bd4 100644
--- a/plug-ins/common/warp.c
+++ b/plug-ins/common/warp.c
@@ -896,7 +896,7 @@ diff (GimpDrawable *drawable,
gdouble gscalefac; /* scaling factor for x,y differential of 'gradient' map */
gdouble r, theta, dtheta; /* rectangular<-> spherical coordinate transform for vector rotation */
gdouble scale_vec_x, scale_vec_y; /* fixed vector X,Y component scaling factors */
- gint has_alpha, ind;
+ gint ind;
/* ----------------------------------------------------------------------- */
@@ -927,7 +927,6 @@ diff (GimpDrawable *drawable,
width = drawable->width;
height = drawable->height;
src_bytes = drawable->bpp;
- has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
/* -- Add two layers: X and Y Displacement vectors -- */
/* -- I'm using a RGB drawable and using the first two bytes for a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]