lib/mime.c: Add a comment explaining the intentional `case' fall-through.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 3 May 2020 15:18:28 +0000 (16:18 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 3 May 2020 15:18:28 +0000 (16:18 +0100)
This is sufficient to muffle a newish GCC warning.

lib/mime.c

index 00a3c72..99dac39 100644 (file)
@@ -174,6 +174,7 @@ const char *mime_parse_word(const char *s, char **valuep,
       case '\\':
        if(!(c = *s++))
          return 0;
+       /* else fall through ... */
       default:
        dynstr_append(value, c);
        break;