From 69c069069addb50f8fad2a388095b02ee8b34a68 Mon Sep 17 00:00:00 2001 From: sleske Date: Sun, 11 Aug 2013 20:24:38 +0000 Subject: Fix:core:Fix warnings from unused variables.|Part of #1154. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5564 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/sunriset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'navit/sunriset.c') diff --git a/navit/sunriset.c b/navit/sunriset.c index 9c92898ec..122d14b32 100644 --- a/navit/sunriset.c +++ b/navit/sunriset.c @@ -209,7 +209,7 @@ void sunpos( double d, double *lon, double *r ) void sun_RA_dec( double d, double *RA, double *dec, double *r ) { double lon, obl_ecl; - double xs, ys, zs; + double xs, ys; double xe, ye, ze; /* Compute Sun's ecliptical coordinates */ @@ -218,7 +218,7 @@ void sun_RA_dec( double d, double *RA, double *dec, double *r ) /* Compute ecliptic rectangular coordinates */ xs = *r * cosd(lon); ys = *r * sind(lon); - zs = 0; /* because the Sun is always in the ecliptic plane! */ + /* No zs, because the Sun is always in the ecliptic plane! */ /* Compute obliquity of ecliptic (inclination of Earth's axis) */ obl_ecl = 23.4393 - 3.563E-7 * d; -- cgit v1.2.1