From f62543fe1cc544a5684af327f63a1aeb1bdeba94 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 20 Jul 2023 09:58:25 -0400 Subject: Remove unneeded copy It appeared in 8eb73a87245acf9d93dc401831b629981864fa58 (by me!) without justification. --- src/libstore/local-store.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libstore') diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index e69460e6c..892ff2295 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -1022,9 +1022,8 @@ StorePathSet LocalStore::queryValidDerivers(const StorePath & path) std::map> -LocalStore::queryPartialDerivationOutputMap(const StorePath & path_) +LocalStore::queryPartialDerivationOutputMap(const StorePath & path) { - auto path = path_; auto outputs = retrySQLite>>([&]() { auto state(_state.lock()); std::map> outputs; -- cgit v1.2.3