From d92aaef9b040ca7f011597751e21b5b6beb336bb Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sun, 16 Aug 2020 06:41:33 -0700 Subject: [PATCH] TAPE: Avoid potential uninitialized variable reference --- sim_tape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_tape.c b/sim_tape.c index 6e32aa9b..8170f1e5 100644 --- a/sim_tape.c +++ b/sim_tape.c @@ -3830,7 +3830,7 @@ t_awslnt awsrec_typ = AWS_REC; char name[256]; t_stat stat = SCPE_OPENERR; uint8 *buf = NULL; -t_stat aws_stat; +t_stat aws_stat = MTSE_UNATT; int32 saved_switches = sim_switches; srand (0); /* All devices use the same random sequence for file data */