mirror of
https://github.com/simh/simh.git
synced 2026-04-14 07:50:15 +00:00
Compiler suggested cleanups.
This commit is contained in:
@@ -515,8 +515,7 @@ return;
|
||||
|
||||
int32 machine_check (int32 p1, int32 opc, int32 cc, int32 delta)
|
||||
{
|
||||
int32 acc, err;
|
||||
err = (GET_TRAP (trpirq) << 4) | (pme << 3) | ASTLVL; /* error word */
|
||||
int32 acc;
|
||||
if (p1 == MCHK_BPE) /* bus error? */
|
||||
cc = intexc (SCB_MCHK, cc, 0, IE_EXC); /* take normal exception */
|
||||
else
|
||||
|
||||
@@ -234,7 +234,6 @@ return "Memory controller";
|
||||
|
||||
t_stat cpu_show_memory (FILE* st, UNIT* uptr, int32 val, void* desc)
|
||||
{
|
||||
uint32 memsize = (uint32)(MEMSIZE>>10);
|
||||
uint32 baseaddr = 0;
|
||||
struct {
|
||||
uint32 capacity;
|
||||
|
||||
@@ -554,7 +554,7 @@ return buf;
|
||||
|
||||
t_stat sim_instr (void)
|
||||
{
|
||||
volatile int32 opc, cc; /* used by setjmp */
|
||||
volatile int32 opc = 0, cc; /* used by setjmp */
|
||||
volatile int32 acc; /* set by setjmp */
|
||||
int abortval;
|
||||
t_stat r;
|
||||
|
||||
Reference in New Issue
Block a user