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

SCP: Avoid potential compiler warnings

Essentially all are non-functional problems but silencing them is a good idea
This commit is contained in:
Mark Pizzolato
2020-10-09 05:09:41 -07:00
parent 85858b1287
commit 31606161ce
6 changed files with 27 additions and 19 deletions

View File

@@ -2049,7 +2049,7 @@ else
return sim_messagef (SCPE_INVREM, "Can't enable Remote Console Master mode with Remote Console disabled\n");
if (sim_rem_master_mode) {
t_stat stat_nomessage;
t_stat stat_nomessage = 0;
sim_messagef (SCPE_OK, "Command input starting on Master Remote Console Session\n");
stat = sim_run_boot_prep (0);
@@ -2291,7 +2291,7 @@ t_stat sim_set_debon (int32 flag, CONST char *cptr)
char gbuf[CBUFSIZE];
t_stat r;
time_t now;
size_t buffer_size;
size_t buffer_size = 0;
if ((cptr == NULL) || (*cptr == 0)) /* need arg */
return SCPE_2FARG;