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

gEDA-cvs: pcb.git: branch: master updated (53241f7333d8930f633322b8521aefb88ae689f6)



The branch, master has been updated
       via  53241f7333d8930f633322b8521aefb88ae689f6 (commit)
      from  b16a6b9945ed53282bf5e87b741b9685417a5e3e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/find.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)


=================
 Commit Messages
=================

commit 53241f7333d8930f633322b8521aefb88ae689f6
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    find.c: Remove unused variables in LineLineIntersect()

:100644 100644 2b47874... 1bbb1b5... M	src/find.c

=========
 Changes
=========

commit 53241f7333d8930f633322b8521aefb88ae689f6
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    find.c: Remove unused variables in LineLineIntersect()

diff --git a/src/find.c b/src/find.c
index 2b47874..1bbb1b5 100644
--- a/src/find.c
+++ b/src/find.c
@@ -1583,7 +1583,7 @@ LineLineIntersect (LineTypePtr Line1, LineTypePtr Line2)
 {
   double s, r;
   double line1_dx, line1_dy, line2_dx, line2_dy,
-         point1_dx, point1_dy, point2_dx, point2_dy;
+         point1_dx, point1_dy;
   if (TEST_FLAG (SQUAREFLAG, Line1))/* pretty reckless recursion */
     {
       PointType p[4];
@@ -1625,8 +1625,6 @@ LineLineIntersect (LineTypePtr Line1, LineTypePtr Line2)
   line2_dy = Line2->Point2.Y - Line2->Point1.Y;
   point1_dx = Line1->Point1.X - Line2->Point1.X;
   point1_dy = Line1->Point1.Y - Line2->Point1.Y;
-  point2_dx = Line1->Point2.X - Line2->Point2.X;
-  point2_dy = Line1->Point2.Y - Line2->Point2.Y;
 
   /* If either line is a point, we have failed already, since the
    *   endpoint check above will have caught an "intersection". */




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs