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

Commit 72e78203 authored by George Burgess IV's avatar George Burgess IV Committed by android-build-merger
Browse files

Merge "surfaceflinger: fix static analyzer complaints"

am: 6d31f4eb

Change-Id: I3ed3ca3f69e8a44232553afaaaed4c6cab6b3bfd
parents 2ba1a2a9 6d31f4eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2201,7 +2201,7 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
                    sp<const DisplayDevice> hw(mDisplays[dpy]);
                    if (layer->belongsToDisplay(hw->getLayerStack(), hw->isPrimary())) {
                        if (disp == NULL) {
                            disp = hw;
                            disp = std::move(hw);
                        } else {
                            disp = NULL;
                            break;