diff options
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-score.c | 2 | ||||
-rw-r--r-- | gas/config/tc-tic6x.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-score.c b/gas/config/tc-score.c index 822b9cfd5ba..2bb3fbe1696 100644 --- a/gas/config/tc-score.c +++ b/gas/config/tc-score.c @@ -4489,7 +4489,7 @@ s3_do_macro_bcmp (char *str) char* ptemp; int i = 0; struct s3_score_it inst_expand[2]; - struct s3_score_it inst_main; + struct s3_score_it inst_main = { 0 }; memset (inst_expand, 0, sizeof inst_expand); s3_skip_whitespace (str); diff --git a/gas/config/tc-tic6x.c b/gas/config/tc-tic6x.c index 81f33f40f13..fda9cd354eb 100644 --- a/gas/config/tc-tic6x.c +++ b/gas/config/tc-tic6x.c @@ -1596,7 +1596,7 @@ tic6x_parse_operand (char **p, tic6x_operand *op, unsigned int op_forms, /* See if this looks like a register or register pair. */ if (!operand_parsed && (op_forms & (TIC6X_OP_REG | TIC6X_OP_REGPAIR))) { - tic6x_register first_reg, second_reg; + tic6x_register first_reg, second_reg = { 0 }; bfd_boolean reg_ok; char *rq = q; |