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

Commit 545af523 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by android-build-merger
Browse files

Merge "Suppress implicit fallthrough warnings." am: 225f9921

am: 67bf08f5

Change-Id: I524178fd45053a38090baa83c4597d41c986b0b8
parents 7db171bf 67bf08f5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -54,6 +54,10 @@
#define UNUSED_UNLESS_VERBOSE(x)
#endif

#ifndef FALLTHROUGH_INTENDED
#define FALLTHROUGH_INTENDED [[clang::fallthrough]]  // NOLINT
#endif

// If no access units are received within 5 secs, assume that the rtp
// stream has ended and signal end of stream.
static int64_t kAccessUnitTimeoutUs = 10000000ll;
@@ -306,8 +310,10 @@ struct MyHandler : public AHandler {
            switch (count) {
                case 3:
                    data[offset++] = 0;
                    FALLTHROUGH_INTENDED;
                case 2:
                    data[offset++] = 0;
                    FALLTHROUGH_INTENDED;
                case 1:
                    data[offset++] = 0;
            }