[libgweather] Squash a compiler warning
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather] Squash a compiler warning
- Date: Mon, 19 Nov 2012 23:52:31 +0000 (UTC)
commit 10d0b758297e1055f37531c74dadf94baa371662
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Tue Nov 20 00:47:32 2012 +0100
Squash a compiler warning
libgweather/test_sun_moon.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgweather/test_sun_moon.c b/libgweather/test_sun_moon.c
index 0f828c2..2f03f67 100644
--- a/libgweather/test_sun_moon.c
+++ b/libgweather/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->priv->update = time(NULL);
}
- bsun = calc_sun_time(info, info->priv->update);
+ calc_sun_time(info, info->priv->update);
bmoon = calc_moon(info);
printf (" Latitude %7.3f %c Longitude %7.3f %c for %s All times UTC\n",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]