From 0e356d53f5b685213c744549c7f44e1998b7fa0a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 19 Jun 2021 13:19:04 -0700 Subject: [PATCH] remove excess bracketing in eqEndSeg --- lib/ortho/ortho.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/ortho/ortho.c b/lib/ortho/ortho.c index eb3523bfd..839c3d347 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -607,11 +607,10 @@ create_graphs(Dt_t* chans) static int eqEndSeg (bend S1l2, bend S2l2, bend T1, bend T2) { - if (((S1l2==T2)&&(S2l2!=T2)) - || ((S1l2==B_NODE)&&(S2l2==T1))) - return(0); + if ((S1l2==T2 && S2l2!=T2) || (S1l2==B_NODE && S2l2==T1)) + return 0; else - return(-1); + return -1; } static int -- 2.40.0