[clang-tidy] Fix unused-variable warning.

llvm-svn: 330327
This commit is contained in:
Haojian Wu 2018-04-19 13:34:03 +00:00
parent 5d61c8b225
commit f8a92c1fff
1 changed files with 2 additions and 1 deletions

View File

@ -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 =