mirror of
https://github.com/Zygo/bees.git
synced 2025-07-06 18:32:26 +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>
(cherry picked from commit 270a91cf17
)
This commit is contained in:
@ -637,7 +637,7 @@ bees_main(int argc, char *argv[])
|
|||||||
chatter_prefix_timestamp = true;
|
chatter_prefix_timestamp = true;
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
do_cmd_help(argv);
|
do_cmd_help(argv); // fallthrough
|
||||||
default:
|
default:
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user