Do not allow unreachable_code in codegen anymore

This commit is contained in:
Anthony Ramine 2015-08-30 17:25:05 +02:00
parent 3c1c315838
commit cf6975f2a3
2 changed files with 2 additions and 6 deletions

View file

@ -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',