projects
/
llvm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4d2283
)
[VFS] Fix unused variable warning. NFC
author
Sam McCall
<sam.mccall@gmail.com>
Mon, 14 Jan 2019 14:13:24 +0000
(14:13 +0000)
committer
Sam McCall
<sam.mccall@gmail.com>
Mon, 14 Jan 2019 14:13:24 +0000
(14:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351069
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/VirtualFileSystem.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/VirtualFileSystem.cpp
b/lib/Support/VirtualFileSystem.cpp
index f728a6a7c607513aa82ce42bc2bcba6b69f8abf4..f400a7c83121b19c078ffa4be4502482d2b7540f 100644
(file)
--- a/
lib/Support/VirtualFileSystem.cpp
+++ b/
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};