From c36a5769e6a3b73a98e2a0af9e6f8746a79f57e0 Mon Sep 17 00:00:00 2001 From: John Johansen Date: Mon, 1 Jun 2020 03:06:28 -0700 Subject: [PATCH] parser: Change Fall through comment to remove warning -Wimplicit-fallthrough only recognizes specic comment patterns switch to a comment it recognizes. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/561 Signed-off-by: John Johansen Acked-by: Steve Beattie --- parser/parser_regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/parser_regex.c b/parser/parser_regex.c index 90bf2c429..db62c995c 100644 --- a/parser/parser_regex.c +++ b/parser/parser_regex.c @@ -366,7 +366,7 @@ pattern_t convert_aaregex_to_pcre(const char *aare, int anchor, int glob, case '(': case ')': pcre.append("\\"); - // fall through to default + /* Fall through */ default: if (bEscape) {