diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-19T17·01+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-19T17·01+0100 |
commit | 09cbc431cca08be891e5e792ceda2a34956b2fc8 (patch) | |
tree | 3653448c7e074bdfd10dfa3bc3b5dfe952299fdf /third_party/nix/src/nix-daemon | |
parent | b490742a511dd03afc43f5143d6d61edaeeb8091 (diff) |
fix(3p/nix): Fix incorrectly braced conditionals and loops r/768
Fixes mistakes introduced by clang-tidy in the previous commit.
Diffstat (limited to 'third_party/nix/src/nix-daemon')
-rw-r--r-- | third_party/nix/src/nix-daemon/nix-daemon.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/third_party/nix/src/nix-daemon/nix-daemon.cc b/third_party/nix/src/nix-daemon/nix-daemon.cc index dbc49edfade5..dde1c8457108 100644 --- a/third_party/nix/src/nix-daemon/nix-daemon.cc +++ b/third_party/nix/src/nix-daemon/nix-daemon.cc @@ -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"); |