mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +00:00
SCP: fix CID: 1415878 "Useless call"
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user