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

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

Merge "Suppress implicit fallthrough warnings."

am: 225f9921

Change-Id: I27d4b19659c0e9df686a79507d605688002c884a
parents 0085e651 225f9921
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;
            }