From: cohrs Date: Tue, 21 Dec 2004 06:27:24 +0000 (+0000) Subject: replacement meaningless_code patch X-Git-Tag: MOVE2GIT~1380 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a2323bab4a0bf0e98321791fc081775e9eb8550;p=nethack replacement meaningless_code patch I moved the "else" into the comment rather than the suggested removal of the comment. --- diff --git a/src/mhitu.c b/src/mhitu.c index 5791d841a..ecd9d7006 100644 --- a/src/mhitu.c +++ b/src/mhitu.c @@ -1583,8 +1583,8 @@ dopois: *hpmax_p -= permdmg; else if (*hpmax_p > lowerlimit) *hpmax_p = lowerlimit; - else /* unlikely... */ - ; /* already at or below minimum threshold; do nothing */ + /* else unlikely... + * already at or below minimum threshold; do nothing */ context.botl = 1; }