Skip to content

Commit 9c3dc44

Browse files
committed
test_sun_moon.c: remove unused variable
1 parent 113668f commit 9c3dc44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libmateweather/test_sun_moon.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ main (int argc, char **argv)
1818
gchar* gtime = NULL;
1919
GDate gdate;
2020
struct tm tm;
21-
gboolean bsun, bmoon;
21+
gboolean bmoon;
2222
time_t phases[4];
2323
const GOptionEntry entries[] = {
2424
{ "latitude", 0, 0, G_OPTION_ARG_DOUBLE, &latitude,
@@ -64,7 +64,7 @@ main (int argc, char **argv)
6464
info.update = time(NULL);
6565
}
6666

67-
bsun = calc_sun_time(&info, info.update);
67+
calc_sun_time(&info, info.update);
6868
bmoon = calc_moon(&info);
6969

7070
printf (" Latitude %7.3f %c Longitude %7.3f %c for %s All times UTC\n",

0 commit comments

Comments
 (0)