diff options
Diffstat (limited to 'board/mpl/vcma9')
-rw-r--r-- | board/mpl/vcma9/cmd_vcma9.c | 2 | ||||
-rw-r--r-- | board/mpl/vcma9/vcma9.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/board/mpl/vcma9/cmd_vcma9.c b/board/mpl/vcma9/cmd_vcma9.c index cdafc50..80bb61b2b 100644 --- a/board/mpl/vcma9/cmd_vcma9.c +++ b/board/mpl/vcma9/cmd_vcma9.c @@ -102,7 +102,7 @@ int do_vcma9(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) printf("\nplease defined 'ethaddr'\n"); } } else if (strcmp(argv[2], "dump") == 0) { - uchar addr, endaddr, csum; ushort data; + uchar addr = 0, endaddr, csum; ushort data; printf("Dump of CS8900 config device: "); cs8900_e2prom_read(addr, &data); diff --git a/board/mpl/vcma9/vcma9.c b/board/mpl/vcma9/vcma9.c index 8e3552e..e452a7b 100644 --- a/board/mpl/vcma9/vcma9.c +++ b/board/mpl/vcma9/vcma9.c @@ -183,7 +183,6 @@ static uchar Get_Board_PCB(void) int checkboard(void) { unsigned char s[50]; - unsigned char bc, var, rc; int i; backup_t *b = (backup_t *) s; |