summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@ens-lyon.org>2008-03-09 14:01:24 -0700
committerSébastien Hinderer <Sebastien.Hinderer@ens-lyon.org>2008-03-09 14:01:24 -0700
commite84eecfb9a2908e062f8e4cfb9cc742d59506504 (patch)
tree43661e44e1565030223c368b43989b67cd4290e1 /compose.c
parentf189ae8aec90883aaa28c90506ff35cdfee5687e (diff)
Remove pointless NULL checks against arrays.
This silences a warning on newer GCCs.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compose.c b/compose.c
index 3103843a..0957bba8 100644
--- a/compose.c
+++ b/compose.c
@@ -1207,7 +1207,7 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
if (msg->content->next)
msg->content = mutt_make_multipart (msg->content);
- if (mutt_write_fcc (NONULL (fname), msg, NULL, 1, NULL) < 0)
+ if (mutt_write_fcc (fname, msg, NULL, 1, NULL) < 0)
msg->content = mutt_remove_multipart (msg->content);
else
mutt_message _("Message written.");