Don't use switch with only default case
Push WarningLevel to Level3

Fix Part 2/3 #2526