[gimp] edge: Remove dead variable and assignment



commit c4b709cdce00394bc868d0a75509f018d3bf00fa
Author: Mukund Sivaraman <muks banu com>
Date:   Thu Oct 6 08:51:07 2011 +0530

    edge: Remove dead variable and assignment

 plug-ins/common/edge.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/common/edge.c b/plug-ins/common/edge.c
index be48adc..79625e2 100644
--- a/plug-ins/common/edge.c
+++ b/plug-ins/common/edge.c
@@ -269,7 +269,6 @@ edge (GimpDrawable *drawable)
   gint              chan;
   gint              x, y;
   gint              x1, y1, x2, y2;
-  gint              maxval;
   gint              cur_progress;
   gint              max_progress;
   gdouble           per_progress;
@@ -289,8 +288,6 @@ edge (GimpDrawable *drawable)
   if (has_alpha)
     alpha--;
 
-  maxval = 255;
-
   cur_progress = 0;
   per_progress = 0.0;
   max_progress = (x2 - x1) * (y2 - y1) / 100;



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