mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 06:05:44 +00:00
Fix a "set but not used" compiler warning in libdisasm
BUG=none TEST=none apart from compiling with "-Wall -Werror" Review URL: https://breakpad.appspot.com/594002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1179 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
09b6b0f8bf
commit
0daf8175df
2
src/third_party/libdisasm/ia32_insn.c
vendored
2
src/third_party/libdisasm/ia32_insn.c
vendored
|
@ -538,12 +538,10 @@ size_t ia32_table_lookup( unsigned char *buf, size_t buf_len,
|
|||
|
||||
static size_t handle_insn_suffix( unsigned char *buf, size_t buf_len,
|
||||
ia32_insn_t *raw_insn, x86_insn_t * insn ) {
|
||||
ia32_table_desc_t *table_desc;
|
||||
ia32_insn_t *sfx_insn;
|
||||
size_t size;
|
||||
unsigned int prefixes = 0;
|
||||
|
||||
table_desc = &ia32_tables[raw_insn->table];
|
||||
size = ia32_table_lookup( buf, buf_len, raw_insn->table, &sfx_insn,
|
||||
&prefixes );
|
||||
if (size == INVALID_INSN || sfx_insn->mnem_flag == INS_INVALID ) {
|
||||
|
|
Loading…
Reference in a new issue