mirror of
https://github.com/servo/servo.git
synced 2025-06-08 08:33:26 +00:00
Do not allow unreachable_code in codegen anymore
This commit is contained in:
parent
3c1c315838
commit
cf6975f2a3
2 changed files with 2 additions and 6 deletions
|
@ -1625,10 +1625,6 @@ class CGImports(CGWrapper):
|
|||
"""
|
||||
if ignored_warnings is None:
|
||||
ignored_warnings = [
|
||||
# Allow unreachable_code because we use 'break' in a way that
|
||||
# sometimes produces two 'break's in a row. See for example
|
||||
# CallbackMember.getArgConversions.
|
||||
'unreachable_code',
|
||||
'non_camel_case_types',
|
||||
'non_upper_case_globals',
|
||||
'unused_imports',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue