scripts: west_commands: runners: Fix pylint unbound issues

Variables are possibly unbound, initialize to None.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-11-20 19:45:12 +01:00 committed by Benjamin Cabé
parent aae018be87
commit 25be1501ab

View file

@ -34,6 +34,10 @@ class IntelCycloneVBinaryRunner(ZephyrBinaryRunner):
support = path.join(cfg.board_dir, 'support')
gdb_commands = None
gdb_commands2 = None
gdb_commands_deb = None
if not config:
default = path.join(support, 'openocd.cfg')
default2 = path.join(support, 'download_all.gdb')