diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-12-22T14·33+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-12-22T14·33+0000 |
commit | 58d974336c733416756e5b396928602ea8ed8df2 (patch) | |
tree | 686556cb2ac1146f70fd037dcd09c89a56184b9e /src/libstore | |
parent | 66c99b0cf50bb1d6290f55c209e9541b50ce41e8 (diff) |
* Drop unnecessary call to canonPath() (nixStore is already canonical).
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/gc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index e79d93723b83..a99bb1a81ced 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -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) { } } |