mirror of
https://github.com/open-simh/simh.git
synced 2026-01-18 17:17:38 +00:00
SCP: fix CID: 1415878 "Useless call"
This commit is contained in:
parent
29eaa45c37
commit
2d4004b936
@ -2972,8 +2972,12 @@ return sim_os_ttcmd ();
|
||||
|
||||
t_stat sim_ttclose (void)
|
||||
{
|
||||
tmxr_shutdown ();
|
||||
return sim_os_ttclose ();
|
||||
t_stat r1 = tmxr_shutdown ();
|
||||
t_stat r2 = sim_os_ttclose ();
|
||||
|
||||
if (r1 != SCPE_OK)
|
||||
return r1;
|
||||
return r2;
|
||||
}
|
||||
|
||||
t_bool sim_ttisatty (void)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user