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 | d0a553e5ecd8726de88af26da7d258e15f626e37 (patch) | |
tree | d66fe6833b49cfd52de7cc68ff7ce25b281e2f8f | |
parent | 72bf29f45d9da6a2a6be910f55a4787d30d3d2eb (diff) | |
download | external_llvm-d0a553e5ecd8726de88af26da7d258e15f626e37.zip external_llvm-d0a553e5ecd8726de88af26da7d258e15f626e37.tar.gz external_llvm-d0a553e5ecd8726de88af26da7d258e15f626e37.tar.bz2 |
Fix a -Wparentheses warning in the mingw build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164587 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/Windows/PathV2.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc index 696768b..3dfac66 100644 --- a/lib/Support/Windows/PathV2.inc +++ b/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. |