summaryrefslogtreecommitdiff
path: root/tools/incident_section_gen/main.cpp
diff options
context:
space:
mode:
authorYi Jin <jinyithu@google.com>2018-03-15 14:14:26 -0700
committerYi Jin <jinyithu@google.com>2018-03-15 14:23:01 -0700
commit934cc613fde11548e5b166cb51e3afb9c9943734 (patch)
treeff6666e89a87709e337af47c172986aeff00d764 /tools/incident_section_gen/main.cpp
parent874b0091372a5a74e8a959c15dc93b4e82a2329d (diff)
Fix bug to break switch cases.
Bug: 75001195 Test: N/A Change-Id: I99274cbf34d191c25ad9ced08f999c59f922cb25
Diffstat (limited to 'tools/incident_section_gen/main.cpp')
-rw-r--r--tools/incident_section_gen/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/incident_section_gen/main.cpp b/tools/incident_section_gen/main.cpp
index 8219150d3029..7e922e6528de 100644
--- a/tools/incident_section_gen/main.cpp
+++ b/tools/incident_section_gen/main.cpp
@@ -427,6 +427,7 @@ static bool generateSectionListCpp(Descriptor const* descriptor) {
printf(" new GZipSection(%d,", field->number());
splitAndPrint(s.args());
printf(" NULL),\n");
+ break;
case SECTION_TOMBSTONE:
printf(" new TombstoneSection(%d, \"%s\"),\n", field->number(), s.args().c_str());
break;