diff options
author | lukefromdc <[email protected]> | 2018-04-29 15:40:01 -0400 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-04-29 17:32:12 -0400 |
commit | 9c3dc4457ff727ba1cb5f669530159185d6b0a81 (patch) | |
tree | 9642103082352b97149bdc5d0bb1a819c6654fb1 | |
parent | 113668f824966f7b93923be2e635f484e1272c50 (diff) | |
download | libmateweather-9c3dc4457ff727ba1cb5f669530159185d6b0a81.tar.bz2 libmateweather-9c3dc4457ff727ba1cb5f669530159185d6b0a81.tar.xz |
test_sun_moon.c: remove unused variable
-rw-r--r-- | libmateweather/test_sun_moon.c | 4 |
1 files 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", |