mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32.c: suppress warning
* win32/win32.c (rb_w32_home_dir): suppress sequence-point warning, REALLOC_N re-assigns the variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f4b51e69dc
commit
9db0b2d7ee
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ rb_w32_home_dir(void)
|
|||
xfree(buffer);
|
||||
return NULL;
|
||||
}
|
||||
buffer = REALLOC_N(buffer, WCHAR, lstrlenW(buffer) + 1);
|
||||
REALLOC_N(buffer, WCHAR, lstrlenW(buffer) + 1);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue