diff options
author | Sam McCall <sam.mccall@gmail.com> | 2019-01-14 14:13:24 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2019-01-14 14:13:24 +0000 |
commit | 7a99727c62ac457ad122aa6ede3500b75184426c (patch) | |
tree | dbcce50b8d8e39ab3ca66593fd7378ddaafa5102 /llvm/lib | |
parent | b469877749e0f3fd1cdc38b57831414f5bb167cd (diff) | |
download | bcm5719-llvm-7a99727c62ac457ad122aa6ede3500b75184426c.tar.gz bcm5719-llvm-7a99727c62ac457ad122aa6ede3500b75184426c.zip |
[VFS] Fix unused variable warning. NFC
llvm-svn: 351069
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Support/VirtualFileSystem.cpp | 2 |
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}; |