1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-04-04 07:30:42 +01:00

Actually, killerbuf doesn't need to be zeroed

It wasn't before and is overwritten anyway.
This commit is contained in:
Ron Nazarov 2024-10-09 20:46:22 +01:00
parent 065b8ce79d
commit a408de3376
Signed by: noisytoot
GPG key ID: 1D43EF4F4492268B

View file

@ -13528,7 +13528,6 @@ void * vpointer, /* additional /whatever/, type based on hmoncode. */
static struct permonst *warnedptr = 0;
static char killerbuf[BUFSZ]; /* only for use with killer */
memset(killerbuf, 0, sizeof(killerbuf));
char buf[BUFSZ];