summaryrefslogtreecommitdiff
path: root/opcodes/frv-asm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-04-04 10:09:52 +0000
committerNick Clifton <nickc@redhat.com>2005-04-04 10:09:52 +0000
commit9494d739022dc483721f8dc97e19085977e78b38 (patch)
treeab0458cf3254f57426398bacf8c126b7ae7abfd8 /opcodes/frv-asm.c
parentec74bb7502cfb5316ad321f1ffbcc90cf6defc5b (diff)
downloadbinutils-9494d739022dc483721f8dc97e19085977e78b38.tar.gz
binutils-9494d739022dc483721f8dc97e19085977e78b38.tar.bz2
binutils-9494d739022dc483721f8dc97e19085977e78b38.zip
Initialise value to zero to avoid a compile time warning.
Diffstat (limited to 'opcodes/frv-asm.c')
-rw-r--r--opcodes/frv-asm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/frv-asm.c b/opcodes/frv-asm.c
index 2632e877778..ad4d81f959d 100644
--- a/opcodes/frv-asm.c
+++ b/opcodes/frv-asm.c
@@ -1229,14 +1229,14 @@ frv_cgen_parse_operand (cd, opindex, strp, fields)
break;
case FRV_OPERAND_LABEL16 :
{
- bfd_vma value;
+ bfd_vma value = 0;
errmsg = cgen_parse_address (cd, strp, FRV_OPERAND_LABEL16, 0, NULL, & value);
fields->f_label16 = value;
}
break;
case FRV_OPERAND_LABEL24 :
{
- bfd_vma value;
+ bfd_vma value = 0;
errmsg = parse_call_label (cd, strp, FRV_OPERAND_LABEL24, 0, NULL, & value);
fields->f_label24 = value;
}