libfdt: Initialize the stack variable
authorTien Fong Chee <tien.fong.chee@intel.com>
Wed, 30 Aug 2017 05:15:42 +0000 (13:15 +0800)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Sep 2017 11:27:48 +0000 (05:27 -0600)
commit18c991ca2bd72c30b7fb578cee8b5c7c835d383d
tree39ace856a3642978d835979649cf9a96b5865616
parentd503114c66a76b5ceb9d72da2c9b5231eb6743b8
libfdt: Initialize the stack variable

Report Coverity log:
The code uses a variable that has not
been initialized, leading to unpredictable
or unintended results.

Reported-by: Coverity (CID: 60519)
Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
lib/libfdt/fdt_wip.c