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]>
  • Loading branch information
kjeremy and edolstra authored Sep 4, 2024
1 parent 46f6505 commit 8152c5c
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 8152c5c

Please sign in to comment.