From 99aad254595b8837203f467344727c1f1043c378 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 29 Jun 2012 15:15:48 +0000 Subject: PR gas/14263 * config/tc-arm.c (parse_operands): Initialise val. --- gas/ChangeLog | 5 +++++ gas/config/tc-arm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 111a211..d0e0f10 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2012-06-29 Nick Clifton + + PR gas/14263 + * config/tc-arm.c (parse_operands): Initialise val. + 2012-06-28 Nick Clifton PR gas/14260 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 43e20d1..004f751 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -6202,7 +6202,7 @@ parse_operands (char *str, const unsigned int *pattern, bfd_boolean thumb) unsigned const int *upat = pattern; char *backtrack_pos = 0; const char *backtrack_error = 0; - int i, val, backtrack_index = 0; + int i, val = 0, backtrack_index = 0; enum arm_reg_type rtype; parse_operand_result result; unsigned int op_parse_code; -- cgit v1.1