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

Commit cf59a3e9 authored by Greg Kaiser's avatar Greg Kaiser Committed by android-build-merger
Browse files

Merge "libsnapshot: Fix typo in nullptr check" am: 17438477

am: eea94569

Change-Id: If122146d062cbfdeeea7c3a4d4358ca57ad1ce4c
parents fc6e98f8 eea94569
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;