]> git.dujemihanovic.xyz Git - u-boot.git/commit
qconfig: Fix pylint error in read_database()
authorSimon Glass <sjg@chromium.org>
Wed, 17 Jul 2024 15:56:49 +0000 (16:56 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Jul 2024 14:01:05 +0000 (08:01 -0600)
commit61d555d8a741b7859c878fc34f9279413c4900c0
tree45520b8c62ffbea5768bc8eed490baf203bd1ba4
parentf4e163ece454bcf949a9b2005de3b70392ca05d1
qconfig: Fix pylint error in read_database()

Fix this error by initing the variable before the loop:

tools/qconfig.py:880:22: E0606: Possibly using variable 'defconfig'
   before assignment (possibly-used-before-assignment)

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/qconfig.py