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

Commit 5bcdfac9 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am 2a6e5cf4: Merge "Fix uninitialized variable."

* commit '2a6e5cf4':
  Fix uninitialized variable.
parents a3c9d5c3 2a6e5cf4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -48,6 +48,8 @@ MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) {
}

MidiIoWrapper::MidiIoWrapper(const sp<DataSource> &source) {
    ALOGV("MidiIoWrapper(DataSource)");
    mFd = -1;
    mDataSource = source;
    off64_t l;
    if (mDataSource->getSize(&l) == OK) {
@@ -76,7 +78,7 @@ int MidiIoWrapper::readAt(void *buffer, int offset, int size) {
}

int MidiIoWrapper::size() {
    ALOGV("size() = %d", mLength);
    ALOGV("size() = %d", int(mLength));
    return mLength;
}