Skip to content

Commit

Permalink
Update src/libutil/memory-source-accessor.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
  • Loading branch information
Ericson2314 and edolstra authored Nov 3, 2023
1 parent 414927b commit c84aee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libutil/memory-source-accessor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ MemorySourceAccessor::open(const CanonPath & path, std::optional<File> create)
{
auto * curDirP = std::get_if<File::Directory>(&cur->raw);
if (!curDirP)
throw nullptr;
return nullptr;
auto & curDir = *curDirP;

auto i = curDir.contents.find(name);
Expand Down

0 comments on commit c84aee5

Please sign in to comment.