1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 23:12:44 +01:00

Merge pull request #13689 from xokdvium/dead-code

libstore: Remove dead variable
This commit is contained in:
Jörg Thalheim 2025-08-05 14:16:00 +02:00 committed by GitHub
commit fd6e383a63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -825,7 +825,6 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
unreachable. We don't use readDirectory() here so that unreachable. We don't use readDirectory() here so that
GCing can start faster. */ GCing can start faster. */
auto linksName = baseNameOf(linksDir); auto linksName = baseNameOf(linksDir);
Paths entries;
struct dirent * dirent; struct dirent * dirent;
while (errno = 0, dirent = readdir(dir.get())) { while (errno = 0, dirent = readdir(dir.get())) {
checkInterrupt(); checkInterrupt();