win: misc fs cleanup

This commit removes two extraneous semicolons and an unused
variable that was generating a compiler warning.

PR-URL: https://github.com/libuv/libuv/pull/2402
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
cjihrig 2019-07-30 19:38:05 -10:00
parent 3f6298c135
commit 79c2d74058
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -1947,7 +1947,6 @@ static void fs__ftruncate(uv_fs_t* req) {
static void fs__copyfile(uv_fs_t* req) {
int flags;
int overwrite;
DWORD error;
uv_stat_t statbuf;
uv_stat_t new_statbuf;
@ -2588,8 +2587,8 @@ static void uv__fs_work(struct uv__work* w) {
XX(READLINK, readlink)
XX(REALPATH, realpath)
XX(CHOWN, chown)
XX(FCHOWN, fchown);
XX(LCHOWN, lchown);
XX(FCHOWN, fchown)
XX(LCHOWN, lchown)
default:
assert(!"bad uv_fs_type");
}