1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[VFS] Fix unused variable warning. NFC

llvm-svn: 351069
This commit is contained in:
Sam McCall 2019-01-14 14:13:24 +00:00
parent 8340bcd548
commit 242a7d56e8

View File

@ -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};