follow-up: parameter UNUSED as in most of NetHack
This commit is contained in:
+1
-3
@@ -134,10 +134,8 @@ Write(int out, char *buf, long len)
|
|||||||
|
|
||||||
/* open_library(dlb.c) needs this (which normally comes from src/files.c) */
|
/* open_library(dlb.c) needs this (which normally comes from src/files.c) */
|
||||||
FILE *
|
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);
|
return fopen(filename, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user