mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1447480 - Add a MOZ_ASSERT to make it clear that it can never fall through r=hsivonen
MozReview-Commit-ID: Hq9jG1CVwRK --HG-- extra : rebase_source : 4c548c1ad0c74b2c810b435701b91bd4f7893cb1
This commit is contained in:
parent
4c98f9ad50
commit
599ea080ac
@ -1167,6 +1167,7 @@ public abstract class TreeBuilder<T> implements TokenHandler,
|
||||
*/
|
||||
continue;
|
||||
}
|
||||
// CPPONLY: MOZ_FALLTHROUGH_ASSERT();
|
||||
default:
|
||||
/*
|
||||
* A character token that is not one of one of
|
||||
|
@ -399,6 +399,7 @@ nsHtml5TreeBuilder::characters(const char16_t* buf,
|
||||
continue;
|
||||
}
|
||||
}
|
||||
MOZ_FALLTHROUGH_ASSERT();
|
||||
}
|
||||
default: {
|
||||
switch (mode) {
|
||||
|
Loading…
Reference in New Issue
Block a user