diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2014-12-11 12:07:53 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-12-11 12:07:53 +0000 |
commit | a554ecb49d0021fd8bb0fd4f2f6be807b3c8b54f (patch) | |
tree | 2bd2ee56dab2a6150eb60645873370a7506d0b98 /xen-hvm-stub.c | |
parent | b1ab03af890b2b6c5bafc9344b7fe05b392180a5 (diff) | |
download | hqemu-a554ecb49d0021fd8bb0fd4f2f6be807b3c8b54f.zip hqemu-a554ecb49d0021fd8bb0fd4f2f6be807b3c8b54f.tar.gz |
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>
Diffstat (limited to 'xen-hvm-stub.c')
0 files changed, 0 insertions, 0 deletions