mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
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 <kai@kaishome.de>
This commit is contained in:
parent
0c6a4d00c8
commit
3024e43355
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user