From df84d47dfafa5521e70de26da9f231da7e4fd160 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 9 Jan 2022 16:08:35 -0800 Subject: [PATCH] ortho segment: remove unused 'flipped' member --- lib/ortho/ortho.c | 2 -- lib/ortho/structures.h | 1 - 2 files changed, 3 deletions(-) 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; -- 2.40.0