aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 3603cfb41f..31f8cb0a71 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -98,7 +98,7 @@ static char *
make_safe_filename (const char *prefix, CamelMimePart *part)
{
GMimeContentField *type;
- const char *name;
+ const char *name = NULL;
char *safe, *p;
type = camel_mime_part_get_content_type (part);
@@ -124,7 +124,7 @@ make_safe_filename (const char *prefix, CamelMimePart *part)
return safe;
}
-CamelMimePart *
+static CamelMimePart *
part_for_url (const char *url, CamelMimeMessage *message)
{
GHashTable *urls;