scripts: dtc: fix compile warnings
authorFelipe Balbi <balbi@ti.com>
Thu, 26 Jan 2012 11:20:07 +0000 (13:20 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 28 Feb 2016 01:55:13 +0000 (03:55 +0200)
commit5d6d80a33ad184d84c9aca63438c51b9d2a3678e
tree868c088e7f42cb3362a76721cff9b963dda5d887
parente5b2423df5ac235819450c6abf105f046c068bf9
scripts: dtc: fix compile warnings

Fix following compile warnings:

scripts/dtc/flattree.c: In function ‘flat_read_mem_reserve’:
scripts/dtc/flattree.c:700:14: warning: variable ‘p’ set but not used
[-Wunused-but-set-variable]

scripts/dtc/dtc.c: In function ‘main’:
scripts/dtc/dtc.c:104:17: warning: variable ‘check’ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/dtc/dtc.c
scripts/dtc/flattree.c