Enable -Wduplicated-branches, -Wduplicated-cond when supported

This commit is contained in:
Kp 2018-10-01 03:52:05 +00:00
parent 75fd917980
commit eab2bf4105

View file

@ -2596,6 +2596,8 @@ where the cast is useless.
''', msg='for struct timespec', successflags=_successflags)
__preferred_compiler_options = [
'-fvisibility=hidden',
'-Wduplicated-branches',
'-Wduplicated-cond',
'-Wsuggest-attribute=noreturn',
'-Wlogical-op',
'-Wold-style-cast',