From 9cb166341e0231ba1e547f90838c512867f51141 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 15 Jan 2010 22:12:45 -0500 Subject: Fix a potential uninitialized variable use in em-composer-utils.c. Caught by the Clang Static Analyzer. --- mail/em-composer-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 6dfd7cb05c..c90097f80a 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -1944,7 +1944,7 @@ static void format_sender (GString *str, const gchar *attr, CamelMimeMessage *message) { const CamelInternetAddress *sender; - const gchar *name, *addr; + const gchar *name, *addr = NULL; sender = camel_mime_message_get_from (message); if (sender != NULL && camel_address_length (CAMEL_ADDRESS (sender)) > 0) { -- cgit v1.2.3