#ifdef USE_IMAP
/* we can use '/' as a delimiter, imap_complete rewrites it */
if (*s == '=' || *s == '+' || *s == '!') {
- if (*s == '!')
- p = NONULL (Spoolfile);
- else
- p = NONULL (Maildir);
-
- mutt_concat_path (imap_path, p, s + 1, sizeof (imap_path));
+ const char *q = NONULL(*s == '!' ? Spoolfile : Maildir);
+ mutt_concat_path (imap_path, q, s + 1, sizeof (imap_path));
}
else
strfcpy (imap_path, s, sizeof (imap_path));