follow-up: parameter UNUSED as in most of NetHack

This commit is contained in:
nhmall
2024-10-29 19:30:09 -04:00
parent 9294239197
commit fec99bfb86

View File

@@ -134,10 +134,8 @@ Write(int out, char *buf, long len)
/* open_library(dlb.c) needs this (which normally comes from src/files.c) */
FILE *
fopen_datafile(const char *filename, const char *mode, int prefix)
fopen_datafile(const char *filename, const char *mode, int prefix UNUSED)
{
prefix = !prefix; /* not needed, silence compiler */
return fopen(filename, mode);
}