1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 12:02:14 +00:00

SCP: Silence GCC optimizer warnings about unused function results

This commit is contained in:
Mark Pizzolato
2019-12-30 15:33:51 -08:00
parent 1d1fe6f329
commit b18912cda8
4 changed files with 10 additions and 10 deletions

View File

@@ -4219,7 +4219,7 @@ static t_stat sim_os_putchar (int32 out)
char c;
c = out;
(void)write (1, &c, 1);
if (write (1, &c, 1)) {};
return SCPE_OK;
}