From 3336e04a633a5aa9529421e874ff8b9bc9de73a2 Mon Sep 17 00:00:00 2001 From: Stricted Date: Mon, 24 Sep 2018 20:50:26 +0200 Subject: [PATCH] dtbhtool: fix unused variable 'model' warning Change-Id: I0ac347428d01789622487d803ae13d433240063c --- dtbhtool/dtbimg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dtbhtool/dtbimg.c b/dtbhtool/dtbimg.c index cddcd29e..f751e882 100644 --- a/dtbhtool/dtbimg.c +++ b/dtbhtool/dtbimg.c @@ -126,7 +126,9 @@ void *load_dtbh_block(const char *dtb_path, unsigned pagesize, unsigned *_sz) uint32_t version = DTBH_VERSION; unsigned blob_sz = 0; char fname[PATH_MAX]; +#ifdef DTBH_MODEL const unsigned *model; +#endif const unsigned *prop_chip; const unsigned *prop_platform; const unsigned *prop_subtype;