summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-10-28 17:09:09 +0300
committerinfirit <[email protected]>2014-11-23 12:42:17 +0100
commitaee98cef3af95f60587d7331b3101ee7a60e7714 (patch)
tree6a47f4e77e8eefe111fb31e0f5f30fe51e3172c8
parentf32833432efea5dab92e4b5a3c24c8ac8edf3b49 (diff)
downloadengrampa-aee98cef3af95f60587d7331b3101ee7a60e7714.tar.bz2
engrampa-aee98cef3af95f60587d7331b3101ee7a60e7714.tar.xz
zero-init signals array
-rw-r--r--copy-n-paste/eggsmclient.c2
-rw-r--r--src/eggfileformatchooser.c2
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,