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

Commit 8d1b40a4 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by Chih-hung Hsieh
Browse files

Fix implicit-fallthrough warnings.

Test: make checkbuild
Bug: 112564944
Change-Id: I91f1b040480cbf199580982b3ed0975ce77104b3
parent 8bae3798
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2645,7 +2645,7 @@ void CursorInputMapper::configure(nsecs_t when,
            // Should not happen during first time configuration.
            // Should not happen during first time configuration.
            ALOGE("Cannot start a device in MODE_POINTER_RELATIVE, starting in MODE_POINTER");
            ALOGE("Cannot start a device in MODE_POINTER_RELATIVE, starting in MODE_POINTER");
            mParameters.mode = Parameters::MODE_POINTER;
            mParameters.mode = Parameters::MODE_POINTER;
            // fall through.
            [[fallthrough]];
        case Parameters::MODE_POINTER:
        case Parameters::MODE_POINTER:
            mSource = AINPUT_SOURCE_MOUSE;
            mSource = AINPUT_SOURCE_MOUSE;
            mXPrecision = 1.0f;
            mXPrecision = 1.0f;