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

Commit d9f34850 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Suppress unused return value ErrorProne on siftUp" into main

parents b79595dc 55fd7f1c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -165,7 +165,9 @@ public final class MessageHeap {
        m.heapIndex = i;
        mHeap[i] = m;

        siftUp(i);
        // We sift up to ensure that the heap invariant is maintained,
        // but we don't care whether the message was actually moved.
        boolean unused = siftUp(i);
    }

    public void maybeShrink() {