From 270a91cf17783813edaa75fb9766858dcf8e1689 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 --- src/bees.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bees.cc b/src/bees.cc index 415d590..ea3e10c 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -635,7 +635,7 @@ bees_main(int argc, char *argv[]) crucible::set_relative_path(""); break; case 'h': - do_cmd_help(argv); + do_cmd_help(argv); // fallthrough default: return 2; }