From 6e66e438e4233fc25d2ea80df085de4dd84698ab Mon Sep 17 00:00:00 2001 From: Alexandru Csete Date: Thu, 28 Dec 2017 02:51:42 +0100 Subject: [PATCH] Remove logically dead code CID 1398131. --- src/gtk-sat-map.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gtk-sat-map.c b/src/gtk-sat-map.c index 0ae7244..ea8d38b 100644 --- a/src/gtk-sat-map.c +++ b/src/gtk-sat-map.c @@ -1239,13 +1239,8 @@ static guint calculate_footprint(GtkSatMap * satmap, sat_t * sat) if (azi == 0 && north_pole_is_covered(sat)) rangelon = ssplon + pi; - - else if (azi == 180 && south_pole_is_covered(sat)) - rangelon = ssplon + pi; - else if (fabs(num / dem) > 1.0) rangelon = ssplon; - else { if ((180.0 - azi) >= 0)