[Xfce4-commits] <xfce4-weather-plugin:master> Remove unused variables.

Harald Judt noreply at xfce.org
Sun Jan 12 01:08:11 CET 2014


Updating branch refs/heads/master
         to babc00b2be0f2b12767f59531a6b59bcfdf7c779 (commit)
       from e9d01e10bc78771c5f3bcac9437dd73af9e7ee09 (commit)

commit babc00b2be0f2b12767f59531a6b59bcfdf7c779
Author: Harald Judt <h.judt at gmx.at>
Date:   Sun Jan 12 00:45:29 2014 +0100

    Remove unused variables.

 panel-plugin/weather-summary.c |    2 +-
 panel-plugin/weather.c         |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index 33915c3..a40dfde 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -685,7 +685,7 @@ static gchar *
 forecast_day_header_tooltip_text(xml_astro *astro)
 {
     GString *text;
-    gchar *result, *day, *sunrise, *sunset, *moonrise, *moonset, *moonphase;
+    gchar *result, *day, *sunrise, *sunset, *moonrise, *moonset;
 
     /* TRANSLATORS: Please use spaces as needed or desired to properly
        align the values; Monospace font is enforced with <tt> tags for
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 2f0368b..7852da0 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -711,7 +711,6 @@ static void
 schedule_next_wakeup(plugin_data *data)
 {
     time_t now_t = time(NULL), next_day_t;
-    struct tm now_tm;
     gdouble diff;
     gchar *date;
 


More information about the Xfce4-commits mailing list