commit | ae8a6b9af3df7db6a3b42927c9e5866bf8c42d47 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Wed Sep 19 14:34:51 2018 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Wed Sep 19 14:34:51 2018 -0700 |
tree | f6c8f0a740d5e2747797df9b67267f858e99f85a | |
parent | 146fd24c4bc8798fa3ed211f2f7bb3082566bf82 [diff] |
init: annotate intended fallthrough Bug: 116020901 Test: treehugger Change-Id: I5f4a5ebf09572501f564dce506ee0978354fde67
diff --git a/init/tokenizer.cpp b/init/tokenizer.cpp index bb143f1..7e05a0a 100644 --- a/init/tokenizer.cpp +++ b/init/tokenizer.cpp
@@ -1,5 +1,7 @@ #include "tokenizer.h" +#include <android-base/macros.h> + namespace android { namespace init { @@ -106,6 +108,7 @@ continue; } x++; + FALLTHROUGH_INTENDED; case '\n': /* \ <lf> -> line continuation */ state->line++;