Switch warning for SG wasn't reachable (fix #1371)