1
0
mirror of https://github.com/simh/simh.git synced 2026-04-30 05:25:05 +00:00

I650, IBM1130, PDP11, PDP18b, VAX, Sigma: Fix set but unused variables.

This commit is contained in:
Lars Brinkhoff
2020-12-02 14:45:21 -08:00
committed by Mark Pizzolato
parent 1f76c0ce8a
commit d5befa75c1
10 changed files with 13 additions and 23 deletions

View File

@@ -930,7 +930,6 @@ t_bool dp_end_sec (UNIT *uptr, uint32 lnt, uint32 exp, uint32 st)
{
uint32 cidx = uptr->UCTX;
uint32 dva = dp_dib[cidx].dva;
uint32 dtype = GET_DTYPE (uptr->flags);
DP_CTX *ctx = &dp_ctx[cidx];
if (st != CHS_ZBC) { /* end record? */
@@ -978,7 +977,6 @@ return DVS_AUTO;
uint32 dp_tdv_status (uint32 cidx, uint32 un)
{
uint32 st;
DP_CTX *ctx = &dp_ctx[cidx];
UNIT *dp_unit = dp_dev[cidx].units;
t_bool on_cyl;
@@ -996,7 +994,6 @@ return st;
uint32 dp_aio_status (uint32 cidx, uint32 un)
{
uint32 st;
DP_CTX *ctx = &dp_ctx[cidx];
UNIT *dp_unit = dp_dev[cidx].units;
t_bool on_cyl;

View File

@@ -470,8 +470,6 @@ return SCPE_OK;
t_stat mt_map_err (UNIT *uptr, t_stat st)
{
int32 u = uptr - mt_dev.units;
switch (st) {
case MTSE_FMT: /* illegal fmt */
@@ -639,11 +637,9 @@ return r;
t_stat mt_detach (UNIT* uptr)
{
uint32 un = uptr - mt_dev.units;
if (!(uptr->flags & UNIT_ATTABLE))
return SCPE_NOATT;
uptr->UST = 0;
sim_cancel (uptr + MT_REW);
return sim_tape_detach (uptr);
}
}