Don't flag redefined-while-unused
in if branches
#9418
+20
−12
Merged