From aa0c257d381a6f488442b7bd717a161d7d5db3b3 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Mon, 17 Feb 2025 16:01:51 -0500 Subject: [PATCH] Remove unused C variable from circum.c (#274) Allows `-Wunused-but-set-variable` to succeed. --- libastro/circum.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libastro/circum.c b/libastro/circum.c index 41be1b0..6acd70c 100644 --- a/libastro/circum.c +++ b/libastro/circum.c @@ -424,7 +424,6 @@ obj_hyperbolic (Now *np, Obj *op) double e; /* fast eccentricity */ double ll=0, sll, cll; /* helio angle between object and earth */ double mag; /* magnitude */ - double a; /* mean distance */ double tp; /* time from perihelion (days) */ double rpd=0; double y; @@ -435,7 +434,6 @@ obj_hyperbolic (Now *np, Obj *op) lg = lsn + PI; e = op->h_e; - a = op->h_qp/(e - 1.0); /* correct for light time by computing position at time mjd, then * again at mjd-dt, where