From 1ce134aab751e645fc8c91d0abcac4d5d1479ae2 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 16 Oct 2018 11:50:18 -0700 Subject: [PATCH] Fix implicit-fallthrough warning. Bug: 112564944 Test: make checkbuild Change-Id: I7fcc52cd96cd781fe026e07c8029feeea8ceced0 --- tools/atree/files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/atree/files.cpp b/tools/atree/files.cpp index d5c8a977dd..b90f8b3d28 100644 --- a/tools/atree/files.cpp +++ b/tools/atree/files.cpp @@ -81,7 +81,7 @@ split_line(const char* p, vector* out) state = TEXT; break; } - // otherwise fall-through to TEXT case + [[fallthrough]]; case TEXT: if (state != IN_QUOTE && isspace(*p)) { if (q != p) {