1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +00:00

All: Fix various Coverity complaints

This commit is contained in:
Mark Pizzolato
2019-04-03 09:32:54 -07:00
parent e6490223eb
commit fa77969c57
7 changed files with 14 additions and 8 deletions

View File

@@ -873,7 +873,7 @@ int line = rem->line;
if ((!sim_oline) && (sim_log)) {
fflush (sim_log);
sim_fseeko (sim_log, sim_rem_cmd_log_start, SEEK_SET);
(void)sim_fseeko (sim_log, sim_rem_cmd_log_start, SEEK_SET);
cbuf[sizeof(cbuf)-1] = '\0';
while (fgets (cbuf, sizeof(cbuf)-1, sim_log))
tmxr_linemsgf (lp, "%s", cbuf);