Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17438477 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libsnapshot: Fix typo in nullptr check"

parents d3268a71 99ab9783
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ static std::unique_ptr<Extent> Intersect(Extent* target_extent, Extent* existing
    // Convert target_extent and existing_extent to linear extents. Zero extents
    // doesn't matter and doesn't result in any intersection.
    auto existing_linear_extent = existing_extent->AsLinearExtent();
    if (!existing_extent) return nullptr;
    if (!existing_linear_extent) return nullptr;

    auto target_linear_extent = target_extent->AsLinearExtent();
    if (!target_linear_extent) return nullptr;