From 21534baa895de3c588fb061912f14d77a5f0bd53 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 9 Jan 2026 15:32:16 +0100 Subject: [PATCH] PathInputScheme::getAccessor(): Drop unnecessary call to queryPathInfo() --- src/libfetchers/path.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libfetchers/path.cc b/src/libfetchers/path.cc index 7f48ce07bb9..de2652ef72e 100644 --- a/src/libfetchers/path.cc +++ b/src/libfetchers/path.cc @@ -165,7 +165,6 @@ struct PathInputScheme : InputScheme // To prevent `fetchToStore()` copying the path again to Nix // store, pre-create an entry in the fetcher cache. - auto info = store.queryPathInfo(*storePath); accessor->fingerprint = fmt("path:%s", store.queryPathInfo(*storePath)->narHash.to_string(HashFormat::SRI, true)); settings.getCache()->upsert(