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/m32r-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/m32r-asm.c')
-rw-r--r-- | opcodes/m32r-asm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/m32r-asm.c b/opcodes/m32r-asm.c index 8cfc5fd..1c0944a 100644 --- a/opcodes/m32r-asm.c +++ b/opcodes/m32r-asm.c @@ -255,21 +255,21 @@ m32r_cgen_parse_operand (cd, opindex, strp, fields) break; case M32R_OPERAND_DISP16 : { - bfd_vma value; + bfd_vma value = 0; errmsg = cgen_parse_address (cd, strp, M32R_OPERAND_DISP16, 0, NULL, & value); fields->f_disp16 = value; } break; case M32R_OPERAND_DISP24 : { - bfd_vma value; + bfd_vma value = 0; errmsg = cgen_parse_address (cd, strp, M32R_OPERAND_DISP24, 0, NULL, & value); fields->f_disp24 = value; } break; case M32R_OPERAND_DISP8 : { - bfd_vma value; + bfd_vma value = 0; errmsg = cgen_parse_address (cd, strp, M32R_OPERAND_DISP8, 0, NULL, & value); fields->f_disp8 = value; } @@ -312,7 +312,7 @@ m32r_cgen_parse_operand (cd, opindex, strp, fields) break; case M32R_OPERAND_UIMM24 : { - bfd_vma value; + bfd_vma value = 0; errmsg = cgen_parse_address (cd, strp, M32R_OPERAND_UIMM24, 0, NULL, & value); fields->f_uimm24 = value; } |