Bug 1447480 - Add a MOZ_ASSERT to make it clear that it can never fall through r=hsivonen

MozReview-Commit-ID: Hq9jG1CVwRK
This commit is contained in:
Sylvestre Ledru
2018-04-03 13:40:59 +02:00
parent f185645f26
commit 2204107cfc
2 changed files with 2 additions and 0 deletions

View File

@@ -399,6 +399,7 @@ nsHtml5TreeBuilder::characters(const char16_t* buf,
continue;
}
}
MOZ_FALLTHROUGH_ASSERT();
}
default: {
switch (mode) {