TAPE: Fix potential compiler warning.

This commit is contained in:
Mark Pizzolato 2016-05-16 20:04:10 -07:00
parent ef9018c9a7
commit 89f8aff2cf

View file

@ -364,8 +364,7 @@ if (ctx) {
t_stat sim_tape_set_async (UNIT *uptr, int latency) t_stat sim_tape_set_async (UNIT *uptr, int latency)
{ {
#if !defined(SIM_ASYNCH_IO) #if !defined(SIM_ASYNCH_IO)
char *msg = "Tape: can't operate asynchronously\r\n"; sim_printf ("Tape: can't operate asynchronously\r\n");
sim_printf ("%s", msg);
return SCPE_NOFNC; return SCPE_NOFNC;
#else #else
struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx; struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx;