]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: fit: Using variable 'old_dtb' before assignment
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 11 Dec 2023 18:07:32 +0000 (19:07 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 23:39:06 +0000 (18:39 -0500)
commit643f5c37fb6c7db7cd319115da3d176550094ac2
treefaa96cc353e35d41e4f773bd15621979a24d28f3
parentace49c7df73fd27b40a96ab09cce31998735ce35
test: fit: Using variable 'old_dtb' before assignment

old_dtb can only be assumed initialized in the finally block
if it is assigned a value before the try statement.

Avoid a pylint error reported by current pylint.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_fit.py