From 23b2b3b0e0f979b123a503c41ecde108e824f437 Mon Sep 17 00:00:00 2001 From: Monsta Date: Tue, 28 Oct 2014 17:42:09 +0300 Subject: zero-initialize all signals arrays --- applets/clock/calendar-window.c | 6 +++--- applets/clock/clock-location-tile.c | 2 +- applets/clock/clock-map.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'applets/clock') diff --git a/applets/clock/calendar-window.c b/applets/clock/calendar-window.c index 2a6de2f1..b19d3e2b 100644 --- a/applets/clock/calendar-window.c +++ b/applets/clock/calendar-window.c @@ -52,11 +52,11 @@ #endif enum { -EDIT_LOCATIONS, -LAST_SIGNAL + EDIT_LOCATIONS, + LAST_SIGNAL }; -static guint signals[LAST_SIGNAL]; +static guint signals[LAST_SIGNAL] = { 0 }; struct _CalendarWindowPrivate { GtkWidget *calendar; diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c index 1dd8d23b..b4c7c93f 100644 --- a/applets/clock/clock-location-tile.c +++ b/applets/clock/clock-location-tile.c @@ -25,7 +25,7 @@ enum { LAST_SIGNAL }; -static guint signals[LAST_SIGNAL]; +static guint signals[LAST_SIGNAL] = { 0 }; typedef struct { ClockLocation *location; diff --git a/applets/clock/clock-map.c b/applets/clock/clock-map.c index adfe137a..704835ea 100644 --- a/applets/clock/clock-map.c +++ b/applets/clock/clock-map.c @@ -33,7 +33,7 @@ static char *marker_files[MARKER_NB] = { ICONDIR "/clock-map-location-current.png" }; -static guint signals[LAST_SIGNAL]; +static guint signals[LAST_SIGNAL] = { 0 }; typedef struct { time_t last_refresh; -- cgit v1.2.1