[gimp] gimpressionist: Remove 'step' variable which is equal to 'i'



commit 5deb726dfba4a7ac592b1134a280c717f794c40d
Author: Mukund Sivaraman <muks banu com>
Date:   Thu Oct 6 18:58:25 2011 +0530

    gimpressionist: Remove 'step' variable which is equal to 'i'

 plug-ins/gimpressionist/repaint.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/gimpressionist/repaint.c b/plug-ins/gimpressionist/repaint.c
index 2725aae..8cce97b 100644
--- a/plug-ins/gimpressionist/repaint.c
+++ b/plug-ins/gimpressionist/repaint.c
@@ -367,7 +367,6 @@ repaint (ppm_t *p, ppm_t *a)
   ppm_t       dirmap = {0, 0, NULL};
   ppm_t       sizmap = {0, 0, NULL};
   int        *xpos = NULL, *ypos = NULL;
-  int         step = 1;
   int         progstep;
   static int  running = 0;
 
@@ -789,9 +788,8 @@ repaint (ppm_t *p, ppm_t *a)
     {
       i = (int)(tmp.width * density / maxbrushwidth) *
           (int)(tmp.height * density / maxbrushheight);
-      step = i;
 #if 0
-    g_printerr("step=%d i=%d\n", step, i);
+    g_printerr("i=%d\n", i);
 #endif
     }
 



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