diff options
author | Nick Clifton <nickc@redhat.com> | 2012-06-29 15:15:48 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-06-29 15:15:48 +0000 |
commit | 99aad254595b8837203f467344727c1f1043c378 (patch) | |
tree | 7ae18b0e653d2f37087904ef080a0276d0bb9554 | |
parent | 3d4d4302b99ee621e11ac8ef60ac9185da94654b (diff) | |
download | gdb-99aad254595b8837203f467344727c1f1043c378.zip gdb-99aad254595b8837203f467344727c1f1043c378.tar.gz gdb-99aad254595b8837203f467344727c1f1043c378.tar.bz2 |
PR gas/14263
* config/tc-arm.c (parse_operands): Initialise val.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <nickc@redhat.com> + + PR gas/14263 + * config/tc-arm.c (parse_operands): Initialise val. + 2012-06-28 Nick Clifton <nickc@redhat.com> 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; |