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:
parent
3f6298c135
commit
79c2d74058
@ -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");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user