From 9c3dc4457ff727ba1cb5f669530159185d6b0a81 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Sun, 29 Apr 2018 15:40:01 -0400 Subject: test_sun_moon.c: remove unused variable --- libmateweather/test_sun_moon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmateweather/test_sun_moon.c b/libmateweather/test_sun_moon.c index 9ee1fd7..abcded7 100644 --- a/libmateweather/test_sun_moon.c +++ b/libmateweather/test_sun_moon.c @@ -18,7 +18,7 @@ main (int argc, char **argv) gchar* gtime = NULL; GDate gdate; struct tm tm; - gboolean bsun, bmoon; + gboolean bmoon; time_t phases[4]; const GOptionEntry entries[] = { { "latitude", 0, 0, G_OPTION_ARG_DOUBLE, &latitude, @@ -64,7 +64,7 @@ main (int argc, char **argv) info.update = time(NULL); } - bsun = calc_sun_time(&info, info.update); + calc_sun_time(&info, info.update); bmoon = calc_moon(&info); printf (" Latitude %7.3f %c Longitude %7.3f %c for %s All times UTC\n", -- cgit v1.2.1