fix  Issue 11749 - switch case fallthrough error is enabled with -w, but cannot be made informational warning

switch case fallthrough is enabled with -w, but calls error

https://d.puremagic.com/issues/show_bug.cgi?id=11749