commit | c10a631e1e2210753b68b35b9a382189e48be796 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Wed Aug 16 09:01:58 2017 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Wed Aug 16 09:01:58 2017 +0800 |
tree | a94399a95b94408d154c9ebfae84d51e9b45d7de | |
parent | eeceed2cbede6d37d1511e1d3b57676431b97364 [diff] |
x86: fix an warning on unintialized vars
diff --git a/arch/X86/X86Disassembler.c b/arch/X86/X86Disassembler.c index 0a13a6e..598bd78 100644 --- a/arch/X86/X86Disassembler.c +++ b/arch/X86/X86Disassembler.c
@@ -949,7 +949,7 @@ // handle some special cases here. // FIXME: fix this in the next major update. if (*size == 2) { - unsigned char b1, b2; + unsigned char b1 = 0, b2 = 0; reader(&info, &b1, address); reader(&info, &b2, address + 1);