diff options
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r-- | src/libstore/local-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index f5eaa9f5f..bae5fad7b 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -899,7 +899,7 @@ std::shared_ptr<const ValidPathInfo> LocalStore::queryPathInfoInternal(State & s auto useQueryPathInfo(state.stmts->QueryPathInfo.use()(printStorePath(path))); if (!useQueryPathInfo.next()) - return std::shared_ptr<ValidPathInfo>(); + return nullptr; auto id = useQueryPathInfo.getInt(0); |