1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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;
}
#endif
static inline int
not_same_drive(VALUE path, int drive)
@ -3370,6 +3369,7 @@ not_same_drive(VALUE path, int drive)
}
}
#endif
#endif
static inline char *
skiproot(const char *path, const char *end, rb_encoding *enc)