Remote nullptr

Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
Jeremy Kolb 2024-09-04 12:55:32 -04:00 committed by GitHub
parent 46f6505865
commit 8152c5c828
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -838,7 +838,7 @@ StorePathSet Store::queryValidPaths(const StorePathSet & paths, SubstituteFlag m
if (exists)
state->valid.insert(path);
if (newExc != nullptr)
if (newExc)
state->exc = newExc;
assert(state->left);