Skip to content

Commit

Permalink
Remove unused-but-set-variable from circum.c
Browse files Browse the repository at this point in the history
Allows `-Wunused-but-set-variable` to succeed.
  • Loading branch information
r-barnes authored Jul 15, 2024
1 parent 1499fa9 commit d2ef81d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libastro/circum.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit d2ef81d

Please sign in to comment.