1
0
mirror of https://github.com/simh/simh.git synced 2026-04-14 15:55:45 +00:00

FRONTPANEL: Silence Coverity warnings

This commit is contained in:
Mark Pizzolato
2017-12-17 03:07:49 -08:00
parent 649ddc63da
commit 65066b13bf
2 changed files with 9 additions and 7 deletions

View File

@@ -975,7 +975,7 @@ if (fIn)
fclose (fIn);
if (fOut) {
fclose (fOut);
remove (p->temp_config);
(void)remove (p->temp_config);
}
if (buf)
free (buf);
@@ -1094,7 +1094,7 @@ if (panel) {
free (panel->device_name);
free (panel->config);
if (panel->temp_config)
remove (panel->temp_config);
(void)remove (panel->temp_config);
free (panel->temp_config);
reg = panel->regs;
while (panel->reg_count--) {