summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-11-30 20:18:25 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-11-30 20:18:25 +0000
commit3d31b4e018742c492c3ebc8d52272e26d873000c (patch)
tree055095519d992b6bd625c594afae6801c8b64ff8
parent3ce70560d8eeb425fa3fdae5c4d5c7b061637388 (diff)
parent41773b73ea02db5b2dc19b6077a5b965feeac374 (diff)
downloadframeworks_base-3d31b4e018742c492c3ebc8d52272e26d873000c.tar.gz
frameworks_base-3d31b4e018742c492c3ebc8d52272e26d873000c.tar.bz2
frameworks_base-3d31b4e018742c492c3ebc8d52272e26d873000c.zip
Merge "Don't rely on fallthrough in incident_section_gen"
-rw-r--r--tools/incident_section_gen/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/incident_section_gen/main.cpp b/tools/incident_section_gen/main.cpp
index 3f42275b4e1..faa354788c4 100644
--- a/tools/incident_section_gen/main.cpp
+++ b/tools/incident_section_gen/main.cpp
@@ -262,8 +262,9 @@ static bool isDefaultMessageImpl(const Descriptor* descriptor, const Destination
return false;
case FieldDescriptor::TYPE_STRING:
if (getPrivacyFlags(field).patterns_size() != 0) return false;
+ break;
default:
- continue;
+ break;
}
}
parents->erase(descriptor->full_name());