diff options
author | Felipe Balbi <balbi@ti.com> | 2012-01-26 13:20:07 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-03-24 23:07:35 +0100 |
commit | db7f4e3d2b0a68eafc16a7b78ac0b7566db1e799 (patch) | |
tree | 137284973df0b6caf024da064df6699fa0eed04f /scripts/dtc/dtc.c | |
parent | fb68d4be95fef4aab82c2a97da93a898d532dd57 (diff) | |
download | linux-db7f4e3d2b0a68eafc16a7b78ac0b7566db1e799.tar.gz linux-db7f4e3d2b0a68eafc16a7b78ac0b7566db1e799.tar.bz2 linux-db7f4e3d2b0a68eafc16a7b78ac0b7566db1e799.zip |
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>
Diffstat (limited to 'scripts/dtc/dtc.c')
-rw-r--r-- | scripts/dtc/dtc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/dtc/dtc.c b/scripts/dtc/dtc.c index 451c92d31b19..2ef5e2e3dd38 100644 --- a/scripts/dtc/dtc.c +++ b/scripts/dtc/dtc.c @@ -101,7 +101,7 @@ int main(int argc, char *argv[]) const char *outform = "dts"; const char *outname = "-"; const char *depname = NULL; - int force = 0, check = 0, sort = 0; + int force = 0, sort = 0; const char *arg; int opt; FILE *outf = NULL; @@ -143,9 +143,6 @@ int main(int argc, char *argv[]) case 'f': force = 1; break; - case 'c': - check = 1; - break; case 'q': quiet++; break; |