From 6a457056a3c0b3b8dc79d2ece96fbd02cb20924b Mon Sep 17 00:00:00 2001 From: PatR Date: Sat, 18 Jan 2025 16:36:51 -0800 Subject: [PATCH] analyzer lint and stale comment for apply.c --- src/apply.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/apply.c b/src/apply.c index 676d97137..1de989ac3 100644 --- a/src/apply.c +++ b/src/apply.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 apply.c $NHDT-Date: 1720128162 2024/07/04 21:22:42 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.449 $ */ +/* NetHack 3.7 apply.c $NHDT-Date: 1737275719 2025/01/19 00:35:19 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.464 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /*-Copyright (c) Robert Patrick Rankin, 2012. */ /* NetHack may be freely redistributed. See license for details. */ @@ -232,8 +232,7 @@ its_dead(coordxy rx, coordxy ry, int *resp) /* (most corpses don't retain the monster's sex, so we're usually forced to use generic pronoun here) */ if (mtmp) { - mptr = mtmp->data = &mons[mtmp->mnum]; - /* TRUE: override visibility check--it's not on the map */ + mtmp->data = &mons[mtmp->mnum]; gndr = pronoun_gender(mtmp, PRONOUN_NO_IT); } else { mptr = &mons[corpse->corpsenm];