mirror of
https://github.com/rcornwell/sims.git
synced 2026-03-30 19:15:09 +00:00
KA10: Removed more compiler warnings.
This commit is contained in:
@@ -345,7 +345,6 @@ static int auxcpu_interrupt (void)
|
||||
|
||||
t_stat auxcpu_devio(uint32 dev, uint64 *data)
|
||||
{
|
||||
DEVICE *dptr = &auxcpu_dev;
|
||||
UNIT *uptr = &auxcpu_unit[0];
|
||||
|
||||
switch(dev & 07) {
|
||||
|
||||
@@ -100,7 +100,6 @@ DEVICE mty_dev = {
|
||||
|
||||
static t_stat mty_devio(uint32 dev, uint64 *data)
|
||||
{
|
||||
TMLN *lp;
|
||||
int line;
|
||||
uint64 word;
|
||||
|
||||
@@ -133,7 +132,6 @@ static t_stat mty_devio(uint32 dev, uint64 *data)
|
||||
word = *data;
|
||||
sim_debug(DEBUG_DATAIO, &mty_dev, "DATAO line %d -> %012llo\n",
|
||||
line, word);
|
||||
lp = &mty_ldsc[line];
|
||||
mty_output_word[line] = word | MTY_FIRST;
|
||||
mty_active_bitmask |= 1 << line;
|
||||
sim_activate_abs (&mty_unit[1], 0);
|
||||
@@ -141,7 +139,6 @@ static t_stat mty_devio(uint32 dev, uint64 *data)
|
||||
break;
|
||||
case DATAI:
|
||||
line = (status & MTY_LINE) >> 12;
|
||||
lp = &mty_ldsc[line];
|
||||
*data = mty_input_character;
|
||||
sim_debug(DEBUG_DATAIO, &mty_dev, "DATAI line %d -> %012llo\n",
|
||||
line, *data);
|
||||
|
||||
@@ -5377,7 +5377,7 @@ dpnorm:
|
||||
MQ = CCM(MB) + 1; /* Low */
|
||||
/* High */
|
||||
#if KL
|
||||
flag3 = 0;
|
||||
flag1 = flag3 = 0;
|
||||
if ((CCM(AR) + ((MQ & SMASK) != 0)) & SMASK) {
|
||||
FLAGS |= CRY1;
|
||||
flag1 = 1;
|
||||
@@ -8988,7 +8988,7 @@ do_byte_setup(int n, int wr, int *pos, int *sz)
|
||||
if (MB & SMASK) { /* Instruction format IFIW */
|
||||
if (MB & BIT1) { /* Illegal index word */
|
||||
fault_data = 024LL << 30 | (((FLAGS & USER) != 0)?SMASK:0) |
|
||||
(temp & RMASK) | ((uint64)sect << 18);
|
||||
AB | ((uint64)sect << 18);
|
||||
page_fault = 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -291,7 +291,6 @@ static const char *slave_description (DEVICE *dptr)
|
||||
|
||||
t_stat slave_devio(uint32 dev, uint64 *data)
|
||||
{
|
||||
DEVICE *dptr = &slave_dev;
|
||||
UNIT *uptr = &slave_unit[0];
|
||||
|
||||
switch(dev & 03) {
|
||||
|
||||
Reference in New Issue
Block a user