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:
Yaron Keren 2014-11-17 09:29:33 +00:00
parent 72a1394991
commit c2eafa1ce3

View File

@ -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.