* Drop unnecessary call to canonPath() (nixStore is already canonical).

This commit is contained in:
Eelco Dolstra 2011-12-22 14:33:34 +00:00
parent 66c99b0cf5
commit 58d974336c

View file

@ -634,7 +634,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
try {
foreach (vector<Path>::iterator, i, entries_)
tryToDelete(state, canonPath(nixStore + "/" + *i));
tryToDelete(state, nixStore + "/" + *i);
} catch (GCLimitReached & e) {
}
}