mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
[win32] suppress false warning by mingw gcc
This commit is contained in:
parent
364526cd70
commit
5bb80b76b0
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue