From e88221b36292474a6d8f99cd418351cd6a5ae6e1 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 14 Mar 2022 15:54:02 -0700 Subject: [PATCH] I7094: Avoid Coverity identified potential error --- I7094/i7094_mt.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/I7094/i7094_mt.c b/I7094/i7094_mt.c index cbd4b2af..39a56eac 100644 --- a/I7094/i7094_mt.c +++ b/I7094/i7094_mt.c @@ -64,11 +64,6 @@ static const uint8 odd_par[64] = { 0, 1, 1, 0, 1, 0, 0, 1 }; -static const char *tape_stat[] = { - "OK", "TMK", "UNATT", "IOERR", "INVRECLNT", - "FMT", "BOT", "EOM", "RECERR", "WRPROT" - }; - extern uint32 PC; extern uint32 cpu_model; extern uint32 ind_ioc; @@ -756,7 +751,7 @@ uint32 up = uptr - mt_dev[ch].units; if ((st != MTSE_OK) && DEBUG_PRS (mt_dev[ch])) fprintf (sim_deb, ">>%s%d status = %s, pos = %d\n", - mt_dev[ch].name, up, tape_stat[st], uptr->pos); + mt_dev[ch].name, up, sim_tape_error_text (st), uptr->pos); switch (st) {