| commit | 63e3a5e6ce7ffcbac2eaa65fe4f1ccf98f781a79 | [log] [tgz] |
|---|---|---|
| author | Peiyong Lin <lpy@google.com> | Mon Apr 02 09:11:17 2018 -0700 |
| committer | Peiyong Lin <lpy@google.com> | Mon Apr 02 09:13:13 2018 -0700 |
| tree | a5de63f582d1ede364a4eaa2333307fba54edc2f | |
| parent | b62346a3ed0d8e4a9144aa90d68b10425b5b8afa [diff] |
[SurfaceFlinger] Removed unreached return statement. This bug was introduced in ag/3818244. BUG: 77466401 BUG: 77156734 Test: Build Change-Id: I22b57e9b9dc7a517180c5aed25c907d5c8f2674c
diff --git a/services/surfaceflinger/DisplayHardware/HWC2.cpp b/services/surfaceflinger/DisplayHardware/HWC2.cpp index 98daec3..c2425ce 100644 --- a/services/surfaceflinger/DisplayHardware/HWC2.cpp +++ b/services/surfaceflinger/DisplayHardware/HWC2.cpp
@@ -366,7 +366,6 @@ { auto intError = mComposer.getColorModes(mId, outModes); return static_cast<Error>(intError); - return Error::None; } std::vector<std::shared_ptr<const Display::Config>> Display::getConfigs() const