Get rid of unused function warning for _WIN32

This commit is contained in:
xtkoba 2021-05-09 10:32:11 +09:00 committed by Nobuyoshi Nakada
parent 842673240b
commit c5ff954410
Notes: git 2021-10-03 11:06:50 +09:00

2
file.c
View File

@ -3355,7 +3355,6 @@ getcwdofdrv(int drv)
} }
return drvcwd; return drvcwd;
} }
#endif
static inline int static inline int
not_same_drive(VALUE path, int drive) not_same_drive(VALUE path, int drive)
@ -3370,6 +3369,7 @@ not_same_drive(VALUE path, int drive)
} }
} }
#endif #endif
#endif
static inline char * static inline char *
skiproot(const char *path, const char *end, rb_encoding *enc) skiproot(const char *path, const char *end, rb_encoding *enc)