mirror of
https://github.com/NixOS/nix
synced 2025-06-30 15:48:00 +02:00
Fix gcc 12 warnings
This commit is contained in:
parent
90ec015d61
commit
65bb12ba78
5 changed files with 11 additions and 1 deletions
|
@ -415,6 +415,8 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
|
|||
// Use NAR; Git is not a serialization method
|
||||
dumpMethod = FileSerialisationMethod::Recursive;
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
}
|
||||
// TODO these two steps are essentially RemoteStore::addCAToStore. Move it up to Store.
|
||||
auto path = store->addToStoreFromDump(source, name, dumpMethod, contentAddressMethod, hashAlgo, refs, repair);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue