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

Commit b2428c71 authored by Pablo Ceballos's avatar Pablo Ceballos Committed by android-build-merger
Browse files

BQ: fix some uninitialized variables am: 93c617fd am: f16b8575 am: 1ed24698

am: 46da9385

* commit '46da9385':
  BQ: fix some uninitialized variables
parents a3def43d 46da9385
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -349,7 +349,7 @@ status_t BnGraphicBufferConsumer::onTransact(
        }
        case GET_RELEASED_BUFFERS: {
            CHECK_INTERFACE(IGraphicBufferConsumer, data, reply);
            uint64_t slotMask;
            uint64_t slotMask = 0;
            status_t result = getReleasedBuffers(&slotMask);
            reply->writeInt64(static_cast<int64_t>(slotMask));
            reply->writeInt32(result);
+1 −0
Original line number Diff line number Diff line
@@ -435,6 +435,7 @@ status_t BnGraphicBufferProducer::onTransact(
            QueueBufferOutput* const output =
                    reinterpret_cast<QueueBufferOutput *>(
                            reply->writeInplace(sizeof(QueueBufferOutput)));
            memset(output, 0, sizeof(QueueBufferOutput));
            status_t res = connect(listener, api, producerControlledByApp, output);
            reply->writeInt32(res);
            return NO_ERROR;