forked from OSchip/llvm-project
[clang-tidy] Fix unused-variable warning.
llvm-svn: 330327
This commit is contained in:
parent
5d61c8b225
commit
f8a92c1fff
|
@ -230,7 +230,8 @@ FileOptionsProvider::getRawOptions(StringRef FileName) {
|
|||
assert(FS && "FS must be set.");
|
||||
|
||||
llvm::SmallString<128> AbsoluteFilePath(FileName);
|
||||
if (std::error_code ec = FS->makeAbsolute(AbsoluteFilePath))
|
||||
|
||||
if (FS->makeAbsolute(AbsoluteFilePath))
|
||||
return {};
|
||||
|
||||
std::vector<OptionsSource> RawOptions =
|
||||
|
|
Loading…
Reference in New Issue