]> granicus.if.org Git - nethack/commitdiff
build warning
authornethack.allison <nethack.allison>
Tue, 30 May 2006 05:07:16 +0000 (05:07 +0000)
committernethack.allison <nethack.allison>
Tue, 30 May 2006 05:07:16 +0000 (05:07 +0000)
a recent patch triggered a new warning:
cmd.c(995) : warning C4101: 'numbuf' : unreferenced local variable

src/cmd.c

index 23ddcba6f560c25447653e828857e4132b359d73..2409af70a722088105c261d2fbebbce26f8bc4f3 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -992,7 +992,6 @@ const char *inctyp;
 int incamt, final;
 char *outbuf;
 {
-       char numbuf[24];
        const char *modif, *bonus;
        boolean invrt;
        int absamt;