]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdtdec: test: Fix build warning
authorThierry Reding <treding@nvidia.com>
Thu, 21 Mar 2019 18:10:05 +0000 (19:10 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Apr 2019 02:10:50 +0000 (20:10 -0600)
commit3db600c3ea709e97b4cc907129137dcde04b9ce5
tree332101006b5bca7476193d785cf5310fd6a2c27d
parent54969b40a0a8c5c4adbb230f8c2dd61dd9147889
fdtdec: test: Fix build warning

Hide the declaration of the "fd" variable When not building a DEBUG
configuration, to avoid the variable being unused.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/fdtdec_test.c