Skip to content

Commit

Permalink
Misplaced fallthrough in xname_flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Dec 2, 2024
1 parent f84a6cb commit fd0fe9f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/objnam.c
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,6 @@ xname_flags(
break;
} else if (is_boots(obj) || is_gloves(obj)) {
Strcpy(buf, "pair of ");
FALLTHROUGH;
/*FALLTHRU*/
} else if (is_shield(obj) && !dknown) {
if (obj->otyp >= ELVEN_SHIELD && obj->otyp <= ORCISH_SHIELD) {
Strcpy(buf, "shield");
Expand Down

0 comments on commit fd0fe9f

Please sign in to comment.