diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-09-13 14:16:02 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2018-09-17 12:50:12 -0700 |
commit | 2b48703770efab81143d389d7389166eb1a6c8db (patch) | |
tree | f309a4bbfbb4f716dee1af20f82ca95aa04b907e /services/audioflinger/Tracks.cpp | |
parent | f8d13dee65d3708ea527e9f565be85031d7021ba (diff) | |
download | frameworks_av-2b48703770efab81143d389d7389166eb1a6c8db.tar.gz frameworks_av-2b48703770efab81143d389d7389166eb1a6c8db.tar.bz2 frameworks_av-2b48703770efab81143d389d7389166eb1a6c8db.zip |
Suppress implicit-fallthrough warnings in audioflinger etc.
Add FALLTHROUGH_INTENDED for clang compiler.
Bug: 112564944
Test: build with global -Wimplicit-fallthrough.
Change-Id: I8875bc7ed073aae84d5df97eb39c8c745ca627ef
Diffstat (limited to 'services/audioflinger/Tracks.cpp')
-rw-r--r-- | services/audioflinger/Tracks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/Tracks.cpp b/services/audioflinger/Tracks.cpp index a7c4253569..6d25fb9a5e 100644 --- a/services/audioflinger/Tracks.cpp +++ b/services/audioflinger/Tracks.cpp @@ -842,7 +842,7 @@ void AudioFlinger::PlaybackThread::Track::pause() // Offloaded track was draining, we need to carry on draining when resumed mResumeToStopping = true; - // fall through... + FALLTHROUGH_INTENDED; case ACTIVE: case RESUMING: mState = PAUSING; |