[gimp/metadata-browser] sphere-designer: Remove dead assignment



commit 2b8a2c303651ee1ea6122fa83b1bd4714de284a7
Author: Mukund Sivaraman <muks banu com>
Date:   Mon Oct 3 12:51:15 2011 +0530

    sphere-designer: Remove dead 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 56a7e77..177aa47 100644
--- a/plug-ins/common/sphere-designer.c
+++ b/plug-ins/common/sphere-designer.c
@@ -1382,7 +1382,7 @@ calcphong (common * obj, ray * r2, GimpVector4 * col)
 {
   gint    i, j, o;
   ray     r;
-  gdouble d, b;
+  gdouble b;
   GimpVector4  lcol;
   GimpVector4  norm;
   GimpVector4  pcol;
@@ -1402,7 +1402,6 @@ calcphong (common * obj, ray * r2, GimpVector4 * col)
       vcopy (&r.v1, &r2->v1);
       vcopy (&r.v2, &world.light[i].a);
       vmix (&r.v1, &r.v1, &r.v2, 0.9999);
-      d = vdist (&r.v1, &r.v2);
 
       o = traceray (&r, NULL, -1, 1.0);
       if (o)



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