mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32.c: suppress warnings
* win32/win32.c (fchmod): put braces to suppress missing-braces warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b072900780
commit
d93855e6ef
1 changed files with 1 additions and 1 deletions
|
@ -7329,7 +7329,7 @@ fchmod(int fd, int mode)
|
|||
LARGE_INTEGER LastWriteTime;
|
||||
LARGE_INTEGER ChangeTime;
|
||||
DWORD FileAttributes;
|
||||
} info = {0, 0, 0}; /* fields with 0 are unchanged */
|
||||
} info = {{{0}}, {{0}}, {{0}},}; /* fields with 0 are unchanged */
|
||||
HANDLE h = (HANDLE)_get_osfhandle(fd);
|
||||
|
||||
if (h == INVALID_HANDLE_VALUE) {
|
||||
|
|
Loading…
Add table
Reference in a new issue