From 88e2bdaa79c09f57f3e97a4cf58cbacb903b0504 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 6 Oct 2023 12:39:51 -0400 Subject: [PATCH] Update src/libstore/store-api.cc Co-authored-by: Robert Hensing --- src/libstore/store-api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 5ea2219bd71..9452ca1e77c 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -232,7 +232,7 @@ StorePath Store::makeFixedOutputPathFromCA(std::string_view name, const ContentA std::pair Store::computeStorePathForPath(std::string_view name, const Path & srcPath, FileIngestionMethod method, HashType hashAlgo, PathFilter & filter) const { - Hash h { htSHA256 }; // throwaway def to appease C++ + Hash h { htSHA256 }; // throwaway init value to appease C++ switch (method) { case FileIngestionMethod::Recursive: { h = hashPath(hashAlgo, srcPath, filter).first;