[gimp] gimpressionist: Remove dead assignment (and variable)



commit 7d465f0a629def1986799f4659da07bef5523c2d
Author: Mukund Sivaraman <muks banu com>
Date:   Mon Oct 3 18:53:32 2011 +0530

    gimpressionist: Remove dead assignment (and variable)

 plug-ins/gimpressionist/ppmtool.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/gimpressionist/ppmtool.c b/plug-ins/gimpressionist/ppmtool.c
index 8af3fcd..28bfe7b 100644
--- a/plug-ins/gimpressionist/ppmtool.c
+++ b/plug-ins/gimpressionist/ppmtool.c
@@ -410,12 +410,11 @@ free_rotate (ppm_t *p, double amount)
 {
   int    x, y;
   double nx, ny;
-  double R, a;
+  double R;
   ppm_t  tmp = {0, 0, NULL};
   double f = amount * G_PI * 2 / 360.0;
   int    rowstride = p->width * 3;
 
-  a = p->width / (float)p->height;
   R = p->width < p->height ? p->width / 2 : p->height / 2;
 
   ppm_new (&tmp, p->width, p->height);



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