diff options
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 0fa3855fb3..b64540e4ae 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -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); |