Bug 1426997 - Add MOZ_FALLTHROUGH_ASSERT to make it clear that it can never fall through r=hsivonen

MozReview-Commit-ID: KZvVGnlJZtr
This commit is contained in:
Sylvestre Ledru
2018-01-29 09:11:08 +01:00
parent f75fd4f784
commit e2d9c23cc4

View File

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