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:
committed by
Mark Pizzolato
parent
1f76c0ce8a
commit
d5befa75c1
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user