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) ...@@ -1030,13 +1030,13 @@ mh_draft_message (const char *name, const char *msgspec, char **pname)
1030 char * 1030 char *
1031 mh_safe_make_file_name (const char *dir, const char *file) 1031 mh_safe_make_file_name (const char *dir, const char *file)
1032 { 1032 {
1033 file = mu_make_file_name (dir, file); 1033 char *name = mu_make_file_name (dir, file);
1034 if (!file) 1034 if (!name)
1035 { 1035 {
1036 mu_diag_funcall (MU_DIAG_ERROR, "mu_make_file_name", NULL, ENOMEM); 1036 mu_diag_funcall (MU_DIAG_ERROR, "mu_make_file_name", NULL, ENOMEM);
1037 abort (); 1037 abort ();
1038 } 1038 }
1039 return file; 1039 return name;
1040 } 1040 }
1041 1041
1042 1042
......