]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
listcontrol: mark fallthrough to appease gcc12
authorBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 7 Mar 2023 10:03:16 +0000 (11:03 +0100)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 7 Mar 2023 10:03:16 +0000 (11:03 +0100)
src/listcontrol.c

index 9bbfe75eddc50931fbb72dba622924d59b1a6a07..f852ddd703c4de5871ac7909aab40806ce931abe 100644 (file)
@@ -310,14 +310,14 @@ int listcontrol(strlist *fromemails, struct ml *ml,
        case CTRL_CONFSUB_DIGEST:
                subtype = "-d";
                subtypename = "digest";
-               /* FALLTHROUH */
+               __attribute__ ((fallthrough));
        /* listname+subconf-nomail-COOKIE@domain.tld */
        case CTRL_CONFSUB_NOMAIL:
                if (subtype == NULL) {
                        subtype = "-n";
                        subtypename = "nomail";
                }
-               /* FALLTHROUH */
+               __attribute__ ((fallthrough));
        /* listname+subconf-both-COOKIE@domain.tld */
        case CTRL_CONFSUB_BOTH:
                if (subtype == NULL) {