From: Nico Weber Date: Tue, 25 Sep 2012 05:24:16 +0000 (+0000) Subject: Fix a -Wparentheses warning in the mingw build X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d0a553e5ecd8726de88af26da7d258e15f626e37;p=oota-llvm.git 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 --- diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc index 696768ba9dd..3dfac66b77c 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 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.