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