mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-05 11:00:43 +09:00
cmd_pci405.c: Fix GCC 4.6 build warnings
Fix: cmd_pci405.c: In function 'do_loadpci': cmd_pci405.c:45:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
2c2722379f
commit
3cceed20e0
@ -42,7 +42,6 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|||||||
unsigned int *ptr = 0;
|
unsigned int *ptr = 0;
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int count2 = 0;
|
int count2 = 0;
|
||||||
int status;
|
|
||||||
int i;
|
int i;
|
||||||
char addr[16];
|
char addr[16];
|
||||||
char str[] = "\\|/-";
|
char str[] = "\\|/-";
|
||||||
@ -99,7 +98,7 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|||||||
|
|
||||||
local_args[0] = argv[0];
|
local_args[0] = argv[0];
|
||||||
local_args[1] = NULL;
|
local_args[1] = NULL;
|
||||||
status = do_bootm (cmdtp, 0, 1, local_args);
|
do_bootm (cmdtp, 0, 1, local_args);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user