TAPE: Fix potential compiler warning.
This commit is contained in:
parent
ef9018c9a7
commit
89f8aff2cf
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue