diff options
| author | 2017-08-30 21:45:16 +0000 | |
|---|---|---|
| committer | 2017-08-30 21:45:16 +0000 | |
| commit | 94ffdb29188bdefffa0d070eb9335f750ed1df72 (patch) | |
| tree | 2336c3dd8bde6a755f40592721dc3e44671b3911 | |
| parent | 66854748d51f72aabc1ba9bd26e380853437eb53 (diff) | |
| parent | 1719e70b04c152762f3d52e0f9133844bf3e8ead (diff) | |
Merge "surfaceflinger: fix static analyzer complaints" am: 6d31f4eb4a am: 72e782036d
am: 1719e70b04
Change-Id: I8a1e49bc6036dab29d439cf79d7dcb4c5d2036ff
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 6a01f308a3..959d22fb7b 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -2259,7 +2259,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; |