init: annotate intended fallthrough

Bug: 116020901
Test: treehugger
Change-Id: I5f4a5ebf09572501f564dce506ee0978354fde67
This commit is contained in:
Tom Cherry 2018-09-19 14:34:51 -07:00
parent 146fd24c4b
commit ae8a6b9af3

View file

@ -1,5 +1,7 @@
#include "tokenizer.h"
#include <android-base/macros.h>
namespace android {
namespace init {
@ -106,6 +108,7 @@ textresume:
continue;
}
x++;
FALLTHROUGH_INTENDED;
case '\n':
/* \ <lf> -> line continuation */
state->line++;