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

Commit 9a6b9ed3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "fix warning: dereference of a null pointer"

parents b95db756 0269068c
Loading
Loading
Loading
Loading
+13 −12
Original line number Diff line number Diff line
@@ -263,7 +263,9 @@ void MtpDevice::close() {
}

void MtpDevice::print() {
    if (mDeviceInfo) {
    if (!mDeviceInfo)
        return;

    mDeviceInfo->print();

    if (mDeviceInfo->mDeviceProperties) {
@@ -278,7 +280,6 @@ void MtpDevice::print() {
            }
        }
    }
    }

    if (mDeviceInfo->mPlaybackFormats) {
            ALOGI("***** OBJECT PROPERTIES *****\n");