diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-04-19 15:41:35 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-04-19 15:41:35 +0200 |
commit | fe1640ff8ecc95beeab88f9aa6141bbeec149485 (patch) | |
tree | ddc8121d420da9b49c678a42cbd27f77eef2d114 /opcodes/aarch64-asm.c | |
parent | 392e0bcc0e4088ff6c31ed43a6232e709bf52751 (diff) | |
download | gdb-fe1640ff8ecc95beeab88f9aa6141bbeec149485.zip gdb-fe1640ff8ecc95beeab88f9aa6141bbeec149485.tar.gz gdb-fe1640ff8ecc95beeab88f9aa6141bbeec149485.tar.bz2 |
arm64: add two initializers
Old enough gcc can't cope and would warn about the variables potentially
remaining uninitialized.
Diffstat (limited to 'opcodes/aarch64-asm.c')
-rw-r--r-- | opcodes/aarch64-asm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/aarch64-asm.c b/opcodes/aarch64-asm.c index fa1612c..7cc8146 100644 --- a/opcodes/aarch64-asm.c +++ b/opcodes/aarch64-asm.c @@ -1335,7 +1335,7 @@ encode_asimd_fcvt (aarch64_inst *inst) { aarch64_insn value; aarch64_field field = {0, 0}; - enum aarch64_opnd_qualifier qualifier; + enum aarch64_opnd_qualifier qualifier = AARCH64_OPND_QLF_NIL; switch (inst->opcode->op) { @@ -1893,7 +1893,7 @@ convert_mov_to_movewide (aarch64_inst *inst) { int is32; uint32_t shift_amount; - uint64_t value; + uint64_t value = ~(uint64_t)0; switch (inst->opcode->op) { |