]> granicus.if.org Git - graphviz/commitdiff
remove commented out code
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 8 Apr 2021 04:55:42 +0000 (21:55 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 17 Apr 2021 21:02:40 +0000 (14:02 -0700)
lib/ortho/maze.c
lib/ortho/rawgraph.c
lib/ortho/trapezoid.c

index 80aa6f9860246abc7f55947109c8027f5cd70e75..201c0ed358c32851ee336eb2f31d4ae83e9feb07 100644 (file)
@@ -144,7 +144,6 @@ static Dtdisc_t hdictDisc = {
 #define BIG 16384
 #define CHANSZ(w) (((w)-3)/2)
 #define IS_SMALL(v) (CHANSZ(v) < 2)
-/* #define CHANSZ(w) (w) */
 
 /* updateWt:
  * At present, we use a step function. When a bound is reached, the weight
index 9cc2d81ef9619d429d8dab6a48fce655a6f2440a..56abbb4332a4c2c268eb2e5bbcc375d11a93921a 100644 (file)
@@ -118,7 +118,6 @@ DFS_visit(rawgraph* g, int v, int time, stack* sp)
 
     vp = g->vertices + v;
     vp->color = SCANNING;
-    /* g->vertices[v].d = time; */
     adj = vp->adj_list;
     time = time + 1;
 
@@ -128,7 +127,6 @@ DFS_visit(rawgraph* g, int v, int time, stack* sp)
             time = DFS_visit(g, id, time, sp);
     }
     vp->color = SCANNED;
-    /* g->vertices[v].f = time; */
     pushStack (sp, v);
     return (time + 1);
 }
index e54cbbe93356fda81a6f2465eea507384a55d770..ebbd41906f165a9bd459c3b22d6f7446d111bd79 100644 (file)
@@ -50,7 +50,6 @@ typedef struct {
   int left, right;      /* children */
 } qnode_t;
 
-/* static int chain_idx, op_idx, mon_idx; */
 static int q_idx;
 static int tr_idx;
 static int QSIZE;
@@ -782,14 +781,12 @@ add_segment (int segnum, segment_t* seg, trap_t* tr, qnode_t* qs)
          if (FP_EQUAL(tr[t].lo.y, tr[tlast].lo.y) &&
              FP_EQUAL(tr[t].lo.x, tr[tlast].lo.x) && tribot)
            {           /* bottom forms a triangle */
-             /* int tmpseg; */
 
              if (is_swapped)
                tmptriseg = seg[segnum].prev;
              else
                tmptriseg = seg[segnum].next;
 
-             /* if ((tmpseg > 0) && is_left_of(tmpseg, seg, &s.v0)) */
              if (tmptriseg > 0 && is_left_of(tmptriseg, seg, &s.v0))
                {
                  /* L-R downward cusp */
@@ -830,7 +827,6 @@ add_segment (int segnum, segment_t* seg, trap_t* tr, qnode_t* qs)
 
       else
        {
-         /* int tmpseg = tr[tr[t].d0].rseg; */
          double y0, yt;
          pointf tmppt;
          int tnext, i_d0, i_d1;