aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-text-html.c
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-08-20 19:06:23 +0800
committerDan Vrátil <dvratil@redhat.com>2012-08-20 19:06:23 +0800
commita5bbf35da58d8e25de35a0a90c63d31870239dd2 (patch)
treeb2497d91f686a41a08eee75bc11833cf0c0386e8 /em-format/e-mail-formatter-text-html.c
parent3afe1d68fc5ed8a69da165221228881ff877c863 (diff)
downloadgsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar.gz
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar.bz2
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar.lz
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar.xz
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.tar.zst
gsoc2013-evolution-a5bbf35da58d8e25de35a0a90c63d31870239dd2.zip
Fix all 'may be used uninitialized' compiler warnings
Diffstat (limited to 'em-format/e-mail-formatter-text-html.c')
-rw-r--r--em-format/e-mail-formatter-text-html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/em-format/e-mail-formatter-text-html.c b/em-format/e-mail-formatter-text-html.c
index f4fb3ea4dd..5f493b2f4d 100644
--- a/em-format/e-mail-formatter-text-html.c
+++ b/em-format/e-mail-formatter-text-html.c
@@ -69,6 +69,7 @@ get_tag (const gchar *utf8_string,
gunichar c;
gboolean has_end;
+ c = '\0';
t = g_utf8_find_prev_char (utf8_string, closing);
while (t != opening) {
@@ -90,6 +91,7 @@ get_tag (const gchar *utf8_string,
t = g_utf8_find_next_char (t, NULL);
}
+ has_end = FALSE;
do {
c = g_utf8_get_char (t);