From aee98cef3af95f60587d7331b3101ee7a60e7714 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 28 Oct 2014 17:09:09 +0300 Subject: zero-init signals array --- copy-n-paste/eggsmclient.c | 2 +- src/eggfileformatchooser.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/copy-n-paste/eggsmclient.c b/copy-n-paste/eggsmclient.c index 15b4fad..0cc3818 100644 --- a/copy-n-paste/eggsmclient.c +++ b/copy-n-paste/eggsmclient.c @@ -38,7 +38,7 @@ enum { LAST_SIGNAL }; -static guint signals[LAST_SIGNAL]; +static guint signals[LAST_SIGNAL] = { 0 }; struct _EggSMClientPrivate { GKeyFile *state_file; diff --git a/src/eggfileformatchooser.c b/src/eggfileformatchooser.c index 6305c87..7dfba1f 100644 --- a/src/eggfileformatchooser.c +++ b/src/eggfileformatchooser.c @@ -74,7 +74,7 @@ struct _EggFileFormatSearch const gchar *extension; }; -static guint signals[SIGNAL_LAST]; +static guint signals[SIGNAL_LAST] = { 0 }; G_DEFINE_TYPE (EggFileFormatChooser, egg_file_format_chooser, -- cgit v1.2.1