d008c6c5c5
While allowed by the syntax, they are problematic because the variable is in the scope of the switch() statement, but only valid if a particular case clause is reached. Add braces to limit the variables' scope to the corresponding case clause to avoid that problem. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607