]> git.baikalelectronics.ru Git - uboot.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)
commit5355631e11017b22c2d46bdabe532f1e50dfde04
tree468e14d0475a6e9344d37e32a184ab7f1d13f6dc
parentce293dc3503740d364841172e95142d7239f95dc
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