Skip to content
Permalink
Browse files

test_sun_moon.c: remove unused variable

  • Loading branch information...
lukefromdc committed Apr 29, 2018
1 parent 113668f commit 9c3dc4457ff727ba1cb5f669530159185d6b0a81
Showing with 2 additions and 2 deletions.
  1. +2 −2 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",

0 comments on commit 9c3dc44

Please sign in to comment.
You can’t perform that action at this time.