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

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

Merge "Revert "Force-initialize potential padding area.""

parents c15f634a 4425ec0d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -227,7 +227,6 @@ status_t CursorWindow::writeToParcel(Parcel* parcel) {
        if (!dest) goto fail;
        memcpy(static_cast<uint8_t*>(dest),
                static_cast<uint8_t*>(mData), mAllocOffset);
        memset(static_cast<uint8_t*>(dest) + mAllocOffset, 0, 4);
        memcpy(static_cast<uint8_t*>(dest) + compactedSize - slotsSize,
                static_cast<uint8_t*>(mData) + mSlotsOffset, slotsSize);
    }