[evolution] Fix a potential uninitialized argument in e_signature_list_find().
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Fix a potential uninitialized argument in e_signature_list_find().
- Date: Sat, 16 Jan 2010 03:21:01 +0000 (UTC)
commit 30c7ead06032ec0b6945e9f03db01f50645bf621
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Jan 15 21:55:59 2010 -0500
Fix a potential uninitialized argument in e_signature_list_find().
Caught by the Clang Static Analyzer.
e-util/e-signature-list.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-signature-list.c b/e-util/e-signature-list.c
index 5fd33e2..61076b9 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]