summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2018-10-16 11:50:18 -0700
committer Chih-Hung Hsieh <chh@google.com> 2018-10-16 11:50:18 -0700
commit1ce134aab751e645fc8c91d0abcac4d5d1479ae2 (patch)
treed7174ca1db08df8369afc374d1b885869afd9b47
parent0e91bac015fd550ea4fe6fa47fdbccb982f9660d (diff)
Fix implicit-fallthrough warning.
Bug: 112564944 Test: make checkbuild Change-Id: I7fcc52cd96cd781fe026e07c8029feeea8ceced0
-rw-r--r--tools/atree/files.cpp2
1 files changed, 1 insertions, 1 deletions
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<string>* out)
state = TEXT;
break;
}
- // otherwise fall-through to TEXT case
+ [[fallthrough]];
case TEXT:
if (state != IN_QUOTE && isspace(*p)) {
if (q != p) {