From 54bd35c459c3aadfa1492025fc00ee98dd154996 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 7 Jul 2022 17:24:05 -0700 Subject: [PATCH] sfdpgen scomp: remove unnecessary parens --- lib/sfdpgen/Multilevel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sfdpgen/Multilevel.c b/lib/sfdpgen/Multilevel.c index be1403a04..e34a38042 100644 --- a/lib/sfdpgen/Multilevel.c +++ b/lib/sfdpgen/Multilevel.c @@ -634,9 +634,9 @@ static int scomp(const void *s1, const void *s2){ const double *ss1 = s1; const double *ss2 = s2; - if ((ss1)[1] > (ss2)[1]){ + if (ss1[1] > ss2[1]){ return -1; - } else if ((ss1)[1] < (ss2)[1]){ + } else if (ss1[1] < ss2[1]){ return 1; } return 0; -- 2.40.0