From: Dean Luick Date: Sun, 17 Jan 2021 20:23:12 +0000 (-0600) Subject: Add a missing fall-through comment X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a30038b4946de63d156f31bb58abb11f39658ad;p=nethack Add a missing fall-through comment This eliminates a gcc warning. --- diff --git a/src/mon.c b/src/mon.c index dd2ea4e3f..c5ecf42f4 100644 --- a/src/mon.c +++ b/src/mon.c @@ -2473,6 +2473,7 @@ register struct monst *mtmp; (void) makemon(mtmp->data, stway->sx, stway->sy, NO_MM_FLAGS); break; } + /* fall-through */ case 2: /* randomly */ (void) makemon(mtmp->data, 0, 0, NO_MM_FLAGS); break;