From ae8a6b9af3df7db6a3b42927c9e5866bf8c42d47 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Wed, 19 Sep 2018 14:34:51 -0700 Subject: [PATCH] init: annotate intended fallthrough Bug: 116020901 Test: treehugger Change-Id: I5f4a5ebf09572501f564dce506ee0978354fde67 --- init/tokenizer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/tokenizer.cpp b/init/tokenizer.cpp index bb143f18a..7e05a0a74 100644 --- a/init/tokenizer.cpp +++ b/init/tokenizer.cpp @@ -1,5 +1,7 @@ #include "tokenizer.h" +#include + namespace android { namespace init { @@ -106,6 +108,7 @@ textresume: continue; } x++; + FALLTHROUGH_INTENDED; case '\n': /* \ -> line continuation */ state->line++;