command_ret_t do_cpuchk(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, int argc UNUSED, char * const argv[] UNUSED)
{
- uint_fast8_t cputype;
+ uint_fast8_t cputype = 0;
ERRNUM err = ESUCCESS;
uint8_t ram_save[cpuinfo_length];
command_ret_t do_bus_test(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, int argc UNUSED, char * const argv[] UNUSED)
{
- char ch;
+ int ch;
#if 0
int opt;
}
} while ((Stat & S_IO_0X40) == 0);
- uint32_t cpu_freq;
+ uint32_t cpu_freq = 0;
if (!err)
cpu_freq = z80_measure_phi(lcycles);