scripts: dtc: fix compile warnings
authorFelipe Balbi <balbi@ti.com>
Thu, 26 Jan 2012 11:20:07 +0000 (13:20 +0200)
committerMichal Marek <mmarek@suse.cz>
Sat, 24 Mar 2012 22:07:35 +0000 (23:07 +0100)
commitdb7f4e3d2b0a68eafc16a7b78ac0b7566db1e799
tree137284973df0b6caf024da064df6699fa0eed04f
parentfb68d4be95fef4aab82c2a97da93a898d532dd57
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