On 24 November 2014 at 03:30, zhanghailiang
zhang.zhanghaili...@huawei.com wrote:
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
On 2014/11/24 18:03, Peter Maydell wrote:
On 24 November 2014 at 03:30, zhanghailiang
zhang.zhanghaili...@huawei.com wrote:
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
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