Searched hist:a554ecb49d0021fd8bb0fd4f2f6be807b3c8b54f (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/arm/ |
H A D | boot.c | diff a554ecb49d0021fd8bb0fd4f2f6be807b3c8b54f Thu Dec 11 06:07:53 CST 2014 zhanghailiang <zhang.zhanghailiang@huawei.com> hw/arm/boot: fix uninitialized scalar variable warning reported by coverity
Coverity reports the 'size' may be used uninitialized, but that can't happen, because the caller has checked "if (binfo->dtb_filename || binfo->get_dtb)" before call 'load_dtb'.
Here we simply remove the 'if (binfo->get_dtb)' to satisfy coverity.
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Message-id: 1416826240-12368-1-git-send-email-zhang.zhanghailiang@huawei.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|