commit | 903eb5125e9c3ae567c69cc28b6c27f0ab341e24 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Sep 20 00:07:24 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Sep 20 00:07:24 2018 +0000 |
tree | 3c26f6a79d5c3f947f1a0e13872a73435bda7ccc | |
parent | 2d4b48d1552423f2b0e314fefbf2b4e93cd63ca5 [diff] | |
parent | ae8a6b9af3df7db6a3b42927c9e5866bf8c42d47 [diff] |
Merge "init: annotate intended fallthrough"
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++;