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/nix-daemon/nix-daemon.cc
vendored
3
third_party/nix/src/nix-daemon/nix-daemon.cc
vendored
|
|
@ -305,9 +305,8 @@ static void performOp(TunnelLogger* logger, ref<Store> store, bool trusted,
|
|||
ParseSink sink; /* null sink; just parse the NAR */
|
||||
parseDump(sink, savedNAR);
|
||||
} else {
|
||||
parseDump
|
||||
parseDump(savedRegular, from);
|
||||
}
|
||||
(savedRegular, from);
|
||||
|
||||
logger->startWork();
|
||||
if (!savedRegular.regular) throw Error("regular file expected");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue