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

Commit c7e0dce6 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Fix implicit fallthrough warnings. am: 40b77ef6

am: 80c5b8fc

Change-Id: I52755c761e883d3c3f30d81bda5002cb9be29bcf
parents a809e7a9 80c5b8fc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -36,11 +36,14 @@ WriteState writeBytes(WriteState state, uint64_t value, uint8_t size) {
            *pos++ = getByte(value, 6);
            *pos++ = getByte(value, 5);
            *pos++ = getByte(value, 4);
            [[fallthrough]];
        case 4:
            *pos++ = getByte(value, 3);
            *pos++ = getByte(value, 2);
            [[fallthrough]];
        case 2:
            *pos++ = getByte(value, 1);
            [[fallthrough]];
        case 1:
            *pos++ = value;
            break;