From 3024e4335552613d197cab1f139a4bfa8b8d05c4 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 d5dc9c5..daceeb8 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; }