@@ -376,7 +376,7 @@ static int print_macro_inf(
376
376
* Enabled by '#pragma MCPP debug macro_call' or -K option in STD mode.
377
377
*/
378
378
{
379
- MACRO_INF * m_inf ;
379
+ MACRO_INF * m_inf = NULL ;
380
380
int num ;
381
381
int num_args ; /* Number of actual args (maybe less than expected) */
382
382
int i ;
@@ -473,7 +473,7 @@ static char * replace(
473
473
/* Number of actual arguments (maybe less than expected) */
474
474
int enable_trace_macro ; /* To exclude _Pragma() pseudo macro */
475
475
int m_num = 0 ; /* 'mac_num' of current macro */
476
- MACRO_INF * m_inf ; /* Pointer into mac_inf[] */
476
+ MACRO_INF * m_inf = NULL ; /* Pointer into mac_inf[] */
477
477
478
478
if (mcpp_debug & EXPAND ) {
479
479
dump_a_def ( "replace entry" , defp , FALSE, TRUE, fp_debug );
@@ -1187,7 +1187,7 @@ static char * remove_magics(
1187
1187
mac_n = arg_n = n = 0 ;
1188
1188
1189
1189
while ((* tp ++ = c = get_ch ()) != RT_END && file == infile ) {
1190
- char * * loc_tab ;
1190
+ char * * loc_tab = NULL ;
1191
1191
int num , mark , rm , magic ;
1192
1192
size_t len ;
1193
1193
@@ -1493,7 +1493,7 @@ static char * rescan(
1493
1493
char * tp = NULL ; /* Temporary pointer into buffer*/
1494
1494
char * out_p = out ; /* Current output pointer */
1495
1495
FILEINFO * file ; /* Input sequences stacked on a "file" */
1496
- DEFBUF * inner ; /* Inner macro to replace */
1496
+ DEFBUF * inner = NULL ; /* Inner macro to replace */
1497
1497
int c ; /* First character of token */
1498
1498
int token_type ;
1499
1499
char * mac_arg_start = NULL ;
@@ -1771,8 +1771,8 @@ static int collect_args(
1771
1771
int nargs = 0 ; /* Number of collected args */
1772
1772
int var_arg = defp -> nargs & VA_ARGS ; /* Variable args */
1773
1773
int more_to_come = FALSE; /* Next argument is expected*/
1774
- LOCATION * locs ; /* Location of args in source file */
1775
- LOCATION * loc ; /* Current locs */
1774
+ LOCATION * locs = NULL ; /* Location of args in source file */
1775
+ LOCATION * loc = NULL ; /* Current locs */
1776
1776
MAGIC_SEQ mgc_prefix ; /* MAC_INF seqs and spaces preceding an arg */
1777
1777
int c ;
1778
1778
0 commit comments