Re: [PATCH 1/2] test: fit: Using variable 'old_dtb' before assignment

2023-12-11 Thread Simon Glass
On Sat, 9 Dec 2023 at 11:54, Heinrich Schuchardt wrote: > > old_dtb can only be assumed initialized in the finally block > if it is assigned a value before the try statement. > > Signed-off-by: Heinrich Schuchardt > --- > test/py/tests/test_fit.py | 6 +++--- > 1 file changed, 3 insertions(+), 3

[PATCH 1/2] test: fit: Using variable 'old_dtb' before assignment

2023-12-09 Thread Heinrich Schuchardt
old_dtb can only be assumed initialized in the finally block if it is assigned a value before the try statement. Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_fit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/py/tests/test_fit.py b/test/py/tests/te