From db744b85cee9eccd9840823d06fa8ea1ff124993 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Thu, 20 Oct 2016 23:21:45 +0100 Subject: [PATCH] Don't `else' after return. Simplify control flow. --- sbr/mime_type.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbr/mime_type.c b/sbr/mime_type.c index 23ccf038..e4f3e5b8 100644 --- a/sbr/mime_type.c +++ b/sbr/mime_type.c @@ -124,9 +124,8 @@ get_file_info(const char *proc, const char *file_name) { advise(NULL, "filenames containing both single and double quotes " "are unsupported for attachment"); return NULL; - } else { - quotec = "\""; } + quotec = "\""; } if ((cmd = concat(proc, " ", quotec, file_name, quotec, NULL))) { -- 2.56.0