Delete redundant decls when the existing scope has the same var and
type available for use.
osc = &controller->oscillators[i];
if (osc->event)
{
- double f;
int cur_value;
int next_value;
char freq[32];
/* Scan IC3, IC2 and IC1. Bit number is 3 - i. */
for (i = 0; i < 3; i++)
{
- uint8_t mask = (1 << i);
+ mask = (1 << i);
if (delta & mask)
{
simulate some initial setup by the internal rom. */
if (((m68hc11_cpu->ios[M6811_HPRIO]) & (M6811_SMOD | M6811_MDA)) == M6811_SMOD)
{
- unsigned char val = 0x33;
+ val = 0x33;
m68hc11sio_io_write_buffer (me, &val, io_map,
(unsigned_word) M6811_BAUD, 1);
/* CPU specific initialization. */
for (i = 0; i < MAX_NR_PROCESSORS; ++i)
{
- SIM_CPU *cpu = STATE_CPU (sd, i);
+ cpu = STATE_CPU (sd, i);
CPU_REG_FETCH (cpu) = m68hc11_reg_fetch;
CPU_REG_STORE (cpu) = m68hc11_reg_store;