]> granicus.if.org Git - nethack/commitdiff
replacement meaningless_code patch
authorcohrs <cohrs>
Tue, 21 Dec 2004 06:27:24 +0000 (06:27 +0000)
committercohrs <cohrs>
Tue, 21 Dec 2004 06:27:24 +0000 (06:27 +0000)
I moved the "else" into the comment rather than the suggested removal of
the comment.

src/mhitu.c

index 5791d841afe3fed2d87e11f7ab91ad39b0e96409..ecd9d7006c8f6e5086775b029273cfb5d1e12813 100644 (file)
@@ -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;
            }