Always initialize the variables local and supported instead of initializing them conditionally, to fix the false-positive possibly-used-before-assignment pylint detection.
Closes #8369.
Checklist
[ ] Tested the change ingame
[ ] Provided screenshots if it is a visual change
[ ] Tested in combination with possibly related configuration options
[ ] Written a unit test (especially base/) or added coverage to integration test
[ ] Considered possible null pointers and out of bounds array indexing
Always initialize the variables
local
andsupported
instead of initializing them conditionally, to fix the false-positivepossibly-used-before-assignment
pylint detection.Closes #8369.
Checklist