From fc05c67f12f75f93a4678cbcd8f1ab8c44beae23 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 20 Sep 2001 15:28:25 +0000 Subject: Fix compile time warnings --- opcodes/vax-dis.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'opcodes/vax-dis.c') 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) -- cgit v1.1