Skip to content

Commit 97874a3

Browse files
pdgendttomchy
authored andcommitted
[nrf fromtree] scripts: west_commands: runners: Fix pylint unbound issues
Variables are possibly unbound, initialize to None. Signed-off-by: Pieter De Gendt <[email protected]> (cherry picked from commit 25be150) Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent 2372e45 commit 97874a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/west_commands/runners/intel_cyclonev.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ def __init__(self, cfg, pre_init=None, reset_halt_cmd=DEFAULT_OPENOCD_RESET_HALT
3434

3535
support = path.join(cfg.board_dir, 'support')
3636

37+
gdb_commands = None
38+
gdb_commands2 = None
39+
gdb_commands_deb = None
40+
3741
if not config:
3842
default = path.join(support, 'openocd.cfg')
3943
default2 = path.join(support, 'download_all.gdb')

0 commit comments

Comments
 (0)