[win32] suppress false warning by mingw gcc

This commit is contained in:
Nobuyoshi Nakada 2020-03-04 23:13:18 +09:00
parent 364526cd70
commit 5bb80b76b0
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 2 additions and 2 deletions

View file

@ -5271,7 +5271,7 @@ static int
wrename(const WCHAR *oldpath, const WCHAR *newpath)
{
int res = 0;
DWORD oldatts, newatts = (DWORD)-1;
DWORD oldatts = 0, newatts = (DWORD)-1;
DWORD oldvsn = 0, newvsn = 0, e;
e = get_attr_vsn(oldpath, &oldatts, &oldvsn);