Skip to content

Commit

Permalink
Remote nullptr
Browse files Browse the repository at this point in the history
Co-authored-by: Eelco Dolstra <[email protected]>
(cherry picked from commit 8152c5c)
  • Loading branch information
kjeremy authored and mergify[bot] committed Jan 10, 2025
1 parent 1a21eb4 commit bc8611a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/store-api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bc8611a

Please sign in to comment.