projects
/
GitHub
/
LineageOS
/
android_hardware_samsung.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ecbe86
)
dtbhtool: fix unused variable 'model' warning
author
Stricted
<info@stricted.net>
Mon, 24 Sep 2018 18:50:26 +0000
(20:50 +0200)
committer
Stricted
<info@stricted.net>
Thu, 4 Oct 2018 09:03:35 +0000
(11:03 +0200)
Change-Id: I0ac347428d01789622487d803ae13d433240063c
dtbhtool/dtbimg.c
patch
|
blob
|
blame
|
history
diff --git
a/dtbhtool/dtbimg.c
b/dtbhtool/dtbimg.c
index cddcd29edcfa17a48bfa0358184d59144ffb82d9..f751e882fc1e3542d815e0aecc99845c0453ec39 100644
(file)
--- 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;