diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index 2ab15639a..0366fe0b0 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -825,7 +825,6 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results) unreachable. We don't use readDirectory() here so that GCing can start faster. */ auto linksName = baseNameOf(linksDir); - Paths entries; struct dirent * dirent; while (errno = 0, dirent = readdir(dir.get())) { checkInterrupt();