]> git.dujemihanovic.xyz Git - u-boot.git/commit
boot/image-board.c: Silence warning in select_ramdisk
authorTom Rini <trini@konsulko.com>
Wed, 5 Apr 2023 23:48:56 +0000 (19:48 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 25 Apr 2023 19:31:27 +0000 (15:31 -0400)
commit51a765b37671b4460fdefef5000b9eb6988fddc8
tree468e14d0475a6e9344d37e32a184ab7f1d13f6dc
parentb5fc9f99d0d5324b6159b3a1da7bb679cf5fc901
boot/image-board.c: Silence warning in select_ramdisk

When building with clang we get a warning that rdaddr could be
uninitialized in one case. While this cannot functionally happen, we can
easily silence the warning.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/image-board.c