1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-05-08 04:59:37 +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)
Dieser Commit ist enthalten in:
Kai Krakow
2017-11-14 06:53:48 +01:00
committet von Zygo Blaxell
Ursprung 71514e7229
Commit bfb768a079
+1 -1
Datei anzeigen
@@ -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;
}