1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 06:52:43 +01:00

libstore: Remove dead variable

This commit is contained in:
Sergei Zimmerman 2025-08-05 02:46:29 +03:00 committed by Jörg Thalheim
parent e5a8ee45b7
commit e3d7f20afe

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();