diff options
| author | 2017-08-29 17:57:25 -0700 | |
|---|---|---|
| committer | 2017-08-29 18:03:59 -0700 | |
| commit | 406a285ab039e4bd83fc98fc7c3fb4a9107d8dd2 (patch) | |
| tree | adcf46317d9254a4abac3cdfaa6cae80f326d396 /libs/gui/SurfaceControl.cpp | |
| parent | 5b843179ff2a5e09e35756ec6145220e9f08acf5 (diff) | |
surfaceflinger: fix static analyzer complaints
Due to https://bugs.llvm.org/show_bug.cgi?id=34365, the static analyzer
complains about use of copied `sp`s. In this case, the copy is entirely
unnecessary, since we're just going to destroy the copied-from sp
anyway.
Speed things up a bit + appease the analyzer by moving instead.
Bug: 27101951
Test: mma. Static analyzer no longer complains.
Change-Id: Idf45abcc5c9b3694ef710e330e88a7c2fd766929
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions