[gnome-todo/gnome-3-24] scheduled: initialize variables
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo/gnome-3-24] scheduled: initialize variables
- Date: Thu, 1 Jun 2017 20:01:31 +0000 (UTC)
commit 6746217a25b00de855e9a3f67489e201627e83cd
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat May 27 09:44:52 2017 -0300
scheduled: initialize variables
plugins/scheduled-panel/gtd-panel-scheduled.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/scheduled-panel/gtd-panel-scheduled.c b/plugins/scheduled-panel/gtd-panel-scheduled.c
index 8226b8c..ec7fa6d 100644
--- a/plugins/scheduled-panel/gtd-panel-scheduled.c
+++ b/plugins/scheduled-panel/gtd-panel-scheduled.c
@@ -92,6 +92,8 @@ get_string_for_date (GDateTime *dt,
if (!dt)
return g_strdup (_("No date set"));
+ days_diff = next_year_diff = 0;
+
get_date_offset (dt, &days_diff, &next_year_diff);
if (days_diff < 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]