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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user