[gimp] sphere-designer: Remove dead variable and assignment



commit 1558c3ffa5c615c06db699ace609eeb72c8cb5ae
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Oct 11 09:59:34 2011 +0530

    sphere-designer: Remove dead variable and assignment

 plug-ins/common/sphere-designer.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/sphere-designer.c b/plug-ins/common/sphere-designer.c
index 771977c..880895e 100644
--- a/plug-ins/common/sphere-designer.c
+++ b/plug-ins/common/sphere-designer.c
@@ -1302,7 +1302,7 @@ calclight (GimpVector4 * col, GimpVector4 * point, common * obj)
 {
   gint i, j;
   ray r;
-  gdouble d, b, a;
+  gdouble b, a;
   GimpVector4 lcol;
   GimpVector4 norm;
   GimpVector4 pcol;
@@ -1346,7 +1346,6 @@ calclight (GimpVector4 * col, GimpVector4 * point, common * obj)
       vcopy (&r.v1, point);
       vcopy (&r.v2, &world.light[i].a);
       vmix (&r.v1, &r.v1, &r.v2, 0.9999);
-      d = vdist (&r.v1, &r.v2);
 
       vsub (&r.v1, &r.v2);
       vnorm (&r.v1, 1.0);



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