Updating branch refs/heads/master
         to b0ff7afeeb022c88003edf876c18dfbbc27a571c (commit)
       from b69c07f9b4aae28e615d96ff93163e1300c21d70 (commit)

commit b0ff7afeeb022c88003edf876c18dfbbc27a571c
Author: Harald Judt <[email protected]>
Date:   Thu Jan 24 20:57:40 2013 +0100

    Fix uninitialized variable num_timeslices.

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

diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 5dc8453..913e6fb 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -1073,7 +1073,7 @@ read_cache_file(plugin_data *data)
     gchar *file, *locname = NULL, *lat = NULL, *lon = NULL, *group = NULL;
     gchar *timestring;
     gdouble diff;
-    gint msl, num_timeslices, i, j;
+    gint msl, num_timeslices = 0, i, j;
 
     g_assert(data != NULL);
     if (G_UNLIKELY(data == NULL))
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to