Minor fix.
* mh/mh_init.c (mh_safe_make_file_name): Avoid gcc warnings.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment