Commit 6203ae65 6203ae65f53758a4b893e6e176be7c153a31bef0 by Sergey Poznyakoff

Minor fix.

* mh/mh_init.c (mh_safe_make_file_name): Avoid gcc warnings.
1 parent 08f69cc3
......@@ -1030,13 +1030,13 @@ mh_draft_message (const char *name, const char *msgspec, char **pname)
char *
mh_safe_make_file_name (const char *dir, const char *file)
{
file = mu_make_file_name (dir, file);
if (!file)
char *name = mu_make_file_name (dir, file);
if (!name)
{
mu_diag_funcall (MU_DIAG_ERROR, "mu_make_file_name", NULL, ENOMEM);
abort ();
}
return file;
return name;
}
......