diff options
author | Nick Clifton <nickc@redhat.com> | 2005-04-04 10:09:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-04-04 10:09:52 +0000 |
commit | 9494d739022dc483721f8dc97e19085977e78b38 (patch) | |
tree | ab0458cf3254f57426398bacf8c126b7ae7abfd8 /opcodes/fr30-asm.c | |
parent | ec74bb7502cfb5316ad321f1ffbcc90cf6defc5b (diff) | |
download | gdb-9494d739022dc483721f8dc97e19085977e78b38.zip gdb-9494d739022dc483721f8dc97e19085977e78b38.tar.gz gdb-9494d739022dc483721f8dc97e19085977e78b38.tar.bz2 |
Initialise value to zero to avoid a compile time warning.
Diffstat (limited to 'opcodes/fr30-asm.c')
-rw-r--r-- | opcodes/fr30-asm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/fr30-asm.c b/opcodes/fr30-asm.c index abcdc9b..234870b 100644 --- a/opcodes/fr30-asm.c +++ b/opcodes/fr30-asm.c @@ -269,14 +269,14 @@ fr30_cgen_parse_operand (cd, opindex, strp, fields) break; case FR30_OPERAND_LABEL12 : { - bfd_vma value; + bfd_vma value = 0; errmsg = cgen_parse_address (cd, strp, FR30_OPERAND_LABEL12, 0, NULL, & value); fields->f_rel12 = value; } break; case FR30_OPERAND_LABEL9 : { - bfd_vma value; + bfd_vma value = 0; errmsg = cgen_parse_address (cd, strp, FR30_OPERAND_LABEL9, 0, NULL, & value); fields->f_rel9 = value; } |