fix(3p/nix): Fix incorrectly braced conditionals and loops
Fixes mistakes introduced by clang-tidy in the previous commit.
This commit is contained in:
parent
b490742a51
commit
09cbc431cc
16 changed files with 62 additions and 61 deletions
3
third_party/nix/src/libexpr/names.cc
vendored
3
third_party/nix/src/libexpr/names.cc
vendored
|
|
@ -71,9 +71,8 @@ static bool componentsLT(const string& c1, const string& c2) {
|
|||
} else if (c1Num) {
|
||||
return false;
|
||||
} else {
|
||||
return
|
||||
return c1 < c2;
|
||||
}
|
||||
c1 < c2;
|
||||
}
|
||||
|
||||
int compareVersions(const string& v1, const string& v2) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue