aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-07-11 03:28:20 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-07-11 03:28:20 +0800
commit8844e57744dfdda537911efc6b9a4d80e7eb4407 (patch)
tree5e1b11106095e0a96ef3266ac8f4126601de618f /mail/mail-ops.c
parenteb5bdfafc957dc92eee5c6ed7b53a987b9a03734 (diff)
downloadgsoc2013-evolution-8844e57744dfdda537911efc6b9a4d80e7eb4407.tar.gz
gsoc2013-evolution-8844e57744dfdda537911efc6b9a4d80e7eb4407.tar.zst
gsoc2013-evolution-8844e57744dfdda537911efc6b9a4d80e7eb4407.zip
Fix an unitialized variable error.
svn path=/trunk/; revision=4045
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 335b8e71f6..fdf3bbbf2c 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -699,7 +699,10 @@ forward_msg (GtkWidget *button, gpointer user_data)
fwd_subj = g_strdup_printf ("[%s] (forwarded message)",
from);
}
+ } else {
+ fwd_subj = NULL;
}
+
e_msg_composer_set_headers (composer, NULL, NULL, NULL, fwd_subj);
g_free (fwd_subj);