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 | 82a76694ce7353f067734a905388175e2b6cf6b2 (patch) | |
tree | bf305353fbfc47816fd6745dd3c79c79ef9cfe5c /opcodes/vax-dis.c | |
parent | fc52e153510f5c1e60e4dfb0e8f69480734cc1f3 (diff) | |
download | gdb-82a76694ce7353f067734a905388175e2b6cf6b2.tar.gz |
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 9c9be017ccf..db39bfadb0a 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) |