We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01d65e5 commit 3e3e763Copy full SHA for 3e3e763
1 file changed
scp.c
@@ -5824,9 +5824,13 @@ return SCPE_OK;
5824
5825
t_stat sim_set_asynch (int32 flag, CONST char *cptr)
5826
{
5827
+#ifdef SIM_ASYNCH_IO
5828
const t_bool flag_bool = (flag != 0);
5829
+#endif
5830
+
5831
if (cptr && (*cptr != 0)) /* now eol? */
5832
return SCPE_2MARG;
5833
5834
#ifdef SIM_ASYNCH_IO
5835
if (flag_bool == sim_asynch_enabled) /* already set correctly? */
5836
return SCPE_OK;
@@ -13338,7 +13342,7 @@ uint8 *match_buf = NULL;
13338
13342
uint32 match_size;
13339
13343
char *pattern_buf = NULL;
13340
13344
sim_regex_t *compiled_re = NULL;
13341
-sim_re_capture_t re_nsub;
13345
+sim_re_capture_t re_nsub = 0;
13346
size_t i;
13347
13348
/* Validate the match string */
0 commit comments