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

gEDA-cvs: pcb.git: branch: master updated (2e0849b339504000c47772851b4262e08609f13e)



The branch, master has been updated
       via  2e0849b339504000c47772851b4262e08609f13e (commit)
      from  84086a10b39f6d524fb2cf2bae7751766a77d0f7 (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/toporouter.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


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

commit 2e0849b339504000c47772851b4262e08609f13e
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Fix some "mixed declarations and code" issues.

:100644 100644 50195d3... e820677... M	src/toporouter.c

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

commit 2e0849b339504000c47772851b4262e08609f13e
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Fix some "mixed declarations and code" issues.

diff --git a/src/toporouter.c b/src/toporouter.c
index 50195d3..e820677 100644
--- a/src/toporouter.c
+++ b/src/toporouter.c
@@ -2406,10 +2406,11 @@ check_cons_continuation:
       toporouter_vertex_t *c2v2 = tedge_v2(c2);
 
       if(gts_segments_are_intersecting(GTS_SEGMENT(c1), GTS_SEGMENT(c2)) == GTS_IN) {
+        toporouter_vertex_t *v;
         unconstrain(l, c1); unconstrain(l, c2); 
         rem = 1;
         // proper intersection
-        toporouter_vertex_t *v = TOPOROUTER_VERTEX(vertex_intersect(
+        v = TOPOROUTER_VERTEX(vertex_intersect(
               GTS_VERTEX(c1v1),
               GTS_VERTEX(c1v2),
               GTS_VERTEX(c2v1),
@@ -2625,8 +2626,9 @@ check_cons_continuation:
   
   {
     char buffer[64];
+    FILE *fout2;
     sprintf(buffer, "surface%d.gts", l - r->layers);
-    FILE *fout2 = fopen(buffer, "w");
+    fout2 = fopen(buffer, "w");
     gts_surface_write(l->surface, fout2);
   }
 




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