diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2014-11-17 09:29:33 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2014-11-17 09:29:33 +0000 |
commit | 428ceaf90a83cf537de81f95f1a7d1013452ccaf (patch) | |
tree | 51804b9ce045f2046787759cb9c9b58691799f70 /llvm/lib/Support | |
parent | 105374fe5efa11c978da69417481d5a92f4890a1 (diff) | |
download | bcm5719-llvm-428ceaf90a83cf537de81f95f1a7d1013452ccaf.tar.gz bcm5719-llvm-428ceaf90a83cf537de81f95f1a7d1013452ccaf.zip |
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))
llvm-svn: 222122
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/Windows/Path.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc index 140aadcfe66..365031cf150 100644 --- a/llvm/lib/Support/Windows/Path.inc +++ b/llvm/lib/Support/Windows/Path.inc @@ -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. |