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/iq2000-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/iq2000-asm.c')
-rw-r--r-- | opcodes/iq2000-asm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/opcodes/iq2000-asm.c b/opcodes/iq2000-asm.c index 38d803a..c6205b7 100644 --- a/opcodes/iq2000-asm.c +++ b/opcodes/iq2000-asm.c @@ -358,7 +358,7 @@ iq2000_cgen_parse_operand (cd, opindex, strp, fields) break; case IQ2000_OPERAND_BASEOFF : { - bfd_vma value; + bfd_vma value = 0; errmsg = cgen_parse_address (cd, strp, IQ2000_OPERAND_BASEOFF, 0, NULL, & value); fields->f_imm = value; } @@ -401,7 +401,7 @@ iq2000_cgen_parse_operand (cd, opindex, strp, fields) break; case IQ2000_OPERAND_JMPTARG : { - bfd_vma value; + bfd_vma value = 0; errmsg = cgen_parse_address (cd, strp, IQ2000_OPERAND_JMPTARG, 0, NULL, & value); fields->f_jtarg = value; } @@ -409,7 +409,6 @@ iq2000_cgen_parse_operand (cd, opindex, strp, fields) case IQ2000_OPERAND_JMPTARGQ10 : { bfd_vma value = 0; - errmsg = parse_jtargq10 (cd, strp, IQ2000_OPERAND_JMPTARGQ10, 0, NULL, & value); fields->f_jtargq10 = value; } @@ -434,7 +433,7 @@ iq2000_cgen_parse_operand (cd, opindex, strp, fields) break; case IQ2000_OPERAND_OFFSET : { - bfd_vma value; + bfd_vma value = 0; errmsg = cgen_parse_address (cd, strp, IQ2000_OPERAND_OFFSET, 0, NULL, & value); fields->f_offset = value; } |