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

Commit 63e3a5e6 authored by Peiyong Lin's avatar Peiyong Lin
Browse files

[SurfaceFlinger] Removed unreached return statement.

This bug was introduced in ag/3818244.

BUG: 77466401
BUG: 77156734
Test: Build
Change-Id: I22b57e9b9dc7a517180c5aed25c907d5c8f2674c
parent b62346a3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -366,7 +366,6 @@ Error Display::getColorModes(std::vector<android::ui::ColorMode>* outModes) cons
{
    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