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
4
third_party/nix/src/libmain/shared.hh
vendored
4
third_party/nix/src/libmain/shared.hh
vendored
|
|
@ -68,9 +68,9 @@ N getIntArg(const string& opt, Strings::iterator& i,
|
|||
} else if (u == 'T') {
|
||||
multiplier = 1ULL << 40;
|
||||
} else {
|
||||
throw
|
||||
throw UsageError(format("invalid unit specifier '%1%'") % u);
|
||||
}
|
||||
UsageError(format("invalid unit specifier '%1%'") % u);
|
||||
|
||||
s.resize(s.size() - 1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue