mirror of
https://github.com/reactos/ninja.git
synced 2024-11-23 19:59:43 +00:00
[clang-tidy] fix small false positive
else if has to be on the same line it seems. Found with readability-misleading-indentation Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
8948ec2de6
commit
0ab46c5918
@ -1067,8 +1067,7 @@ bool Builder::ExtractDeps(CommandRunner::Result* result,
|
||||
// complexity in IncludesNormalize::Relativize.
|
||||
deps_nodes->push_back(state_->GetNode(*i, ~0u));
|
||||
}
|
||||
} else
|
||||
if (deps_type == "gcc") {
|
||||
} else if (deps_type == "gcc") {
|
||||
string depfile = result->edge->GetUnescapedDepfile();
|
||||
if (depfile.empty()) {
|
||||
*err = string("edge with deps=gcc but no depfile makes no sense");
|
||||
|
Loading…
Reference in New Issue
Block a user