Hello, I've also stumbled across the "warning: no case matching constant switch condition '0'" and wanted to fix it. As your suggestion is probably the best way, I wanted to ask why it didn't get merged yet.
Maybe the patch got lost? Best regards, Philipp