diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-10-04T11·16+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-10-04T11·16+0200 |
commit | 0fda9b22c7cc0f0191a51d168c4b03d6c4e98d71 (patch) | |
tree | c9cadd8668658d135627238c3611a424b0aa752b /src | |
parent | 38b960136d465b84123c6ff8f0b8de11c6f9e492 (diff) |
Remove unnecessary typecast
Diffstat (limited to 'src')
-rw-r--r-- | src/nix-daemon/nix-daemon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc index 615c1f5dc065..423ba15e2ad0 100644 --- a/src/nix-daemon/nix-daemon.cc +++ b/src/nix-daemon/nix-daemon.cc @@ -709,7 +709,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store, logger->startWork(); // FIXME: race if addToStore doesn't read source? - store.cast<Store>()->addToStore(info, *source, (RepairFlag) repair, + store->addToStore(info, *source, (RepairFlag) repair, dontCheckSigs ? NoCheckSigs : CheckSigs, nullptr); logger->stopWork(); |