1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-14 14:32:42 +01:00

Merge pull request #14563 from NixOS/dead-variable

libstore: Remove dead PosixSourceAccessor variable in verifyStore
This commit is contained in:
John Ericson 2025-11-14 04:42:38 +00:00 committed by GitHub
commit 30dbc7ee0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1385,7 +1385,6 @@ bool LocalStore::verifyStore(bool checkContents, RepairFlag repair)
checkInterrupt(); checkInterrupt();
auto name = link.path().filename(); auto name = link.path().filename();
printMsg(lvlTalkative, "checking contents of %s", name); printMsg(lvlTalkative, "checking contents of %s", name);
PosixSourceAccessor accessor;
std::string hash = hashPath( std::string hash = hashPath(
PosixSourceAccessor::createAtRoot(link.path()), PosixSourceAccessor::createAtRoot(link.path()),
FileIngestionMethod::NixArchive, FileIngestionMethod::NixArchive,