diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-09-25 05:24:16 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-09-25 05:24:16 +0000 |
commit | eada11bb138bd53aa9ab9206f70dea62651c9a7b (patch) | |
tree | 0bf6ae5af84f457e2c509b1ba81dcfae1792afad /llvm/lib/Support/Windows | |
parent | 88d67f341279de9752f4471f6e887c56526e18d5 (diff) | |
download | bcm5719-llvm-eada11bb138bd53aa9ab9206f70dea62651c9a7b.tar.gz bcm5719-llvm-eada11bb138bd53aa9ab9206f70dea62651c9a7b.zip |
Fix a -Wparentheses warning in the mingw build
llvm-svn: 164587
Diffstat (limited to 'llvm/lib/Support/Windows')
-rw-r--r-- | llvm/lib/Support/Windows/PathV2.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/PathV2.inc b/llvm/lib/Support/Windows/PathV2.inc index 696768ba9dd..3dfac66b77c 100644 --- a/llvm/lib/Support/Windows/PathV2.inc +++ b/llvm/lib/Support/Windows/PathV2.inc @@ -794,7 +794,7 @@ mapped_file_region::mapped_file_region(const Twine &path, SmallVector<wchar_t, 128> path_utf16; // Convert path to UTF-16. - if (ec = UTF8ToUTF16(path.toStringRef(path_storage), path_utf16)) + if ((ec = UTF8ToUTF16(path.toStringRef(path_storage), path_utf16))) return; // Get file handle for creating a file mapping. |