IOT-2539 Fix -Wswitch simulator