mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Clang never evaluates expr in __builtin_assume
This commit is contained in:
parent
761383166e
commit
0cf9197988
Notes:
git
2021-10-04 08:13:58 +09:00
1 changed files with 4 additions and 2 deletions
|
@ -5345,11 +5345,13 @@ get_attr_vsn(const WCHAR *path, DWORD *atts, DWORD *vsn)
|
|||
HANDLE h = open_special(path, 0, FILE_FLAG_OPEN_REPARSE_POINT);
|
||||
|
||||
if (h == INVALID_HANDLE_VALUE) {
|
||||
ASSUME(e = GetLastError());
|
||||
e = GetLastError();
|
||||
ASSUME(e);
|
||||
return e;
|
||||
}
|
||||
if (!GetFileInformationByHandle(h, &st)) {
|
||||
ASSUME(e = GetLastError());
|
||||
e = GetLastError();
|
||||
ASSUME(e);
|
||||
}
|
||||
else {
|
||||
*atts = st.dwFileAttributes;
|
||||
|
|
Loading…
Add table
Reference in a new issue