From bfb768a07960163e0db8a81acff89f8e3b46f58d Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Tue, 14 Nov 2017 06:53:48 +0100 Subject: [PATCH] Fix a fallthrough error in GCC 7+ GCC 7 and higher turn a previous warning into an error for implicit fallthrough. Let's hint the compiler that this is intentional here. Signed-off-by: Kai Krakow (cherry picked from commit 270a91cf17783813edaa75fb9766858dcf8e1689) --- src/bees.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bees.cc b/src/bees.cc index 9458c91..63a39db 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -623,7 +623,7 @@ bees_main(int argc, char *argv[]) chatter_prefix_timestamp = true; break; case 'h': - do_cmd_help(argv); + do_cmd_help(argv); // fallthrough default: return 2; }