]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: elf: Using variable 'old_val' before assignment
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 9 Dec 2023 18:50:31 +0000 (19:50 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 23:39:06 +0000 (18:39 -0500)
commitace49c7df73fd27b40a96ab09cce31998735ce35
treea596e5ed62fb7436093765bb013591047b7e419b
parentaafbe1daa5b108635c6c20ae9f3b83db358e1827
binman: elf: Using variable 'old_val' before assignment

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

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/elf_test.py