diff options
author | Nick Clifton <nickc@redhat.com> | 2001-09-20 15:28:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-09-20 15:28:25 +0000 |
commit | fc05c67f12f75f93a4678cbcd8f1ab8c44beae23 (patch) | |
tree | 66d4ea8b7f69fdd8a4337a9a47f57dfaa2dfc1a6 /opcodes/vax-dis.c | |
parent | 16a419ba0165bc117f5408ed96a1d278e31b42a6 (diff) | |
download | gdb-fc05c67f12f75f93a4678cbcd8f1ab8c44beae23.zip gdb-fc05c67f12f75f93a4678cbcd8f1ab8c44beae23.tar.gz gdb-fc05c67f12f75f93a4678cbcd8f1ab8c44beae23.tar.bz2 |
Fix compile time warnings
Diffstat (limited to 'opcodes/vax-dis.c')
-rw-r--r-- | opcodes/vax-dis.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opcodes/vax-dis.c b/opcodes/vax-dis.c index 9c9be01..db39bfa 100644 --- a/opcodes/vax-dis.c +++ b/opcodes/vax-dis.c @@ -112,7 +112,7 @@ print_insn_vax (memaddr, info) disassemble_info *info; { const struct vot *votp; - const char *argp = NULL; + const char *argp; unsigned char *arg; struct private priv; bfd_byte *buffer = priv.the_buffer; @@ -120,12 +120,14 @@ print_insn_vax (memaddr, info) info->private_data = (PTR) &priv; priv.max_fetched = priv.the_buffer; priv.insn_start = memaddr; + if (setjmp (priv.bailout) != 0) { /* Error return. */ return -1; } + argp = NULL; /* Check if the info buffer has more than one byte left since the last opcode might be a single byte with no argument data. */ if (info->buffer_length - (memaddr - info->buffer_vma) > 1) |