From: Matthew Fernandez Date: Mon, 10 Jan 2022 00:08:35 +0000 (-0800) Subject: ortho segment: remove unused 'flipped' member X-Git-Tag: 3.0.0~79^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df84d47dfafa5521e70de26da9f231da7e4fd160;p=graphviz ortho segment: remove unused 'flipped' member --- diff --git a/lib/ortho/ortho.c b/lib/ortho/ortho.c index 49b8d0394..9f447e5da 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -114,14 +114,12 @@ setSeg (segment* sp, bool dir, double fix, double b1, double b2, int l1, int l2) sp->p.p2 = b2; sp->l1 = l1; sp->l2 = l2; - sp->flipped = 0; } else { sp->p.p2 = b1; sp->p.p1 = b2; sp->l2 = l1; sp->l1 = l2; - sp->flipped = 1; } } diff --git a/lib/ortho/structures.h b/lib/ortho/structures.h index 0f91e3fb3..5c522fd73 100644 --- a/lib/ortho/structures.h +++ b/lib/ortho/structures.h @@ -35,7 +35,6 @@ typedef enum {B_NODE, B_UP, B_LEFT, B_DOWN, B_RIGHT} bend; */ typedef struct segment { bool isVert; - boolean flipped; double comm_coord; /* the common coordinate */ paird p; /* end points */ bend l1, l2;