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

Commit 90b59dbb authored by Yunlian Jiang's avatar Yunlian Jiang Committed by android-build-merger
Browse files

Merge "fix warning: dereference of a null pointer"

am: 9a6b9ed3

Change-Id: I8f944dd30a2663262baa00a08c1e4204a29242eb
parents 840e2dcb 9a6b9ed3
Loading
Loading
Loading
Loading
+13 −12
Original line number Diff line number Diff line
@@ -266,7 +266,9 @@ void MtpDevice::close() {
}

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

    mDeviceInfo->print();

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

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