[gimp/metadata-browser] app (paint-funcs): Delete dead assignment and move variable



commit 14182e4ac2324aa7a3cc9dc2634ad8384128cd32
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Oct 4 14:55:41 2011 +0530

    app (paint-funcs): Delete dead assignment and move variable

 app/paint-funcs/paint-funcs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/paint-funcs/paint-funcs.c b/app/paint-funcs/paint-funcs.c
index ff455ec..04a8b3a 100644
--- a/app/paint-funcs/paint-funcs.c
+++ b/app/paint-funcs/paint-funcs.c
@@ -3366,7 +3366,6 @@ border_region (PixelRegion *src,
   /* TODO: Figure out role clearly in algorithm. */
   guchar **density;
 
-  guchar   last_max;
   gint16   last_index;
 
   if (xradius < 0 || yradius < 0)
@@ -3607,12 +3606,13 @@ border_region (PixelRegion *src,
             max[x] = -yradius - 1;
         }
 
-      last_max =  max[0][density[-1]];
       last_index = 1;
 
        /* render scan line */
       for (x = 0 ; x < src->w; x++)
         {
+          guchar last_max;
+
           last_index--;
 
           if (last_index >= 0)



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