mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 14:32:42 +01:00
Remove unnecessary typecast
This commit is contained in:
parent
38b960136d
commit
0fda9b22c7
1 changed files with 1 additions and 1 deletions
|
|
@ -709,7 +709,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
|
||||||
logger->startWork();
|
logger->startWork();
|
||||||
|
|
||||||
// FIXME: race if addToStore doesn't read source?
|
// 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);
|
dontCheckSigs ? NoCheckSigs : CheckSigs, nullptr);
|
||||||
|
|
||||||
logger->stopWork();
|
logger->stopWork();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue