[gimp] warp: Delete dead variable and assignment
- From: Mukund Sivaraman <muks src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gimp] warp: Delete dead variable and assignment
 
- Date: Sat,  8 Oct 2011 13:33:09 +0000 (UTC)
 
commit 875043dbb4e8f9afb4bd030215befb016b712bb4
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]