aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-16 10:55:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-16 10:55:59 +0800
commit30c7ead06032ec0b6945e9f03db01f50645bf621 (patch)
treeed1cd66350f63e621ecb09581fdf7c0494bfcd3e /e-util
parent0d17115d2c5669afd22c42a205e091330d8ef6d9 (diff)
downloadgsoc2013-evolution-30c7ead06032ec0b6945e9f03db01f50645bf621.tar.gz
gsoc2013-evolution-30c7ead06032ec0b6945e9f03db01f50645bf621.tar.zst
gsoc2013-evolution-30c7ead06032ec0b6945e9f03db01f50645bf621.zip
Fix a potential uninitialized argument in e_signature_list_find().
Caught by the Clang Static Analyzer.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-signature-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-signature-list.c b/e-util/e-signature-list.c
index 5fd33e2325..61076b9d72 100644
--- a/e-util/e-signature-list.c
+++ b/e-util/e-signature-list.c
@@ -439,7 +439,7 @@ e_signature_list_find (ESignatureList *signatures,
for (it = e_list_get_iterator ((EList *) signatures);
e_iterator_is_valid (it);
e_iterator_next (it)) {
- const gchar *value;
+ const gchar *value = NULL;
/* XXX EIterator misuses const. */
signature = (ESignature *) e_iterator_get (it);