[gimp] waves: Remove dead assignments (and variables)



commit 6bfae7f8d1addc9c3aceb5a711c8906a671a6ade
Author: Mukund Sivaraman <muks banu com>
Date:   Mon Oct 3 18:50:23 2011 +0530

    waves: Remove dead assignments (and variables)

 plug-ins/common/waves.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/waves.c b/plug-ins/common/waves.c
index ae73713..82f36f7 100644
--- a/plug-ins/common/waves.c
+++ b/plug-ins/common/waves.c
@@ -431,7 +431,6 @@ wave (guchar  *src,
   gint    x1_in, y1_in, x2_in, y2_in;
 
   gdouble xhsiz, yhsiz;       /* Half size of selection */
-  gdouble radius, radius2;    /* Radius and radius^2 */
   gdouble amnt, d;
   gdouble needx, needy;
   gdouble dx, dy;
@@ -478,9 +477,6 @@ wave (guchar  *src,
       yscale = 1.0;
     }
 
-  radius  = MAX (xhsiz, yhsiz);
-  radius2 = radius * radius;
-
   /* Wave the image! */
 
   dst += y1 * rowsiz + x1 * bypp;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]