summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-01-14 14:13:24 +0000
committerSam McCall <sam.mccall@gmail.com>2019-01-14 14:13:24 +0000
commit7a99727c62ac457ad122aa6ede3500b75184426c (patch)
treedbcce50b8d8e39ab3ca66593fd7378ddaafa5102 /llvm/lib/Support
parentb469877749e0f3fd1cdc38b57831414f5bb167cd (diff)
downloadbcm5719-llvm-7a99727c62ac457ad122aa6ede3500b75184426c.tar.gz
bcm5719-llvm-7a99727c62ac457ad122aa6ede3500b75184426c.zip
[VFS] Fix unused variable warning. NFC
llvm-svn: 351069
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/VirtualFileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/VirtualFileSystem.cpp b/llvm/lib/Support/VirtualFileSystem.cpp
index f728a6a7c60..f400a7c8312 100644
--- a/llvm/lib/Support/VirtualFileSystem.cpp
+++ b/llvm/lib/Support/VirtualFileSystem.cpp
@@ -243,7 +243,7 @@ public:
SmallString<128> PWD, RealPWD;
if (llvm::sys::fs::current_path(PWD))
return; // Awful, but nothing to do here.
- if (auto Err = llvm::sys::fs::real_path(PWD, RealPWD))
+ if (llvm::sys::fs::real_path(PWD, RealPWD))
WD = {PWD, PWD};
else
WD = {PWD, RealPWD};
OpenPOWER on IntegriCloud