From: Baptiste Daroussin Date: Tue, 7 Mar 2023 10:03:16 +0000 (+0100) Subject: listcontrol: mark fallthrough to appease gcc12 X-Git-Tag: RELEASE_1_4_0b1~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=628f76c1581c8a0afb80c85d3d996427903e068a;p=thirdparty%2Fmlmmj.git listcontrol: mark fallthrough to appease gcc12 --- diff --git a/src/listcontrol.c b/src/listcontrol.c index 9bbfe75e..f852ddd7 100644 --- a/src/listcontrol.c +++ b/src/listcontrol.c @@ -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) {