mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-16 00:33:10 +00:00
silence gcc 4.9.1 warning in /llvm/lib/Support/Windows/Path.inc:564:39:
warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ec = widenPath(path, path_utf16)) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222122 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72a1394991
commit
c2eafa1ce3
@ -561,7 +561,7 @@ mapped_file_region::mapped_file_region(const Twine &path,
|
||||
SmallVector<wchar_t, 128> path_utf16;
|
||||
|
||||
// Convert path to UTF-16.
|
||||
if (ec = widenPath(path, path_utf16))
|
||||
if ((ec = widenPath(path, path_utf16)))
|
||||
return;
|
||||
|
||||
// Get file handle for creating a file mapping.
|
||||
|
Loading…
x
Reference in New Issue
Block a user