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

Simon Glass sjg at chromium.org
Mon Dec 11 18:52:17 CET 2023


On Sat, 9 Dec 2023 at 11:54, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> 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 <heinrich.schuchardt at canonical.com>
> ---
>  test/py/tests/test_fit.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list