summaryrefslogtreecommitdiff
path: root/opcodes/cgen-asm.in
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2001-03-22 04:05:03 +0000
committerBen Elliston <bje@au.ibm.com>2001-03-22 04:05:03 +0000
commitcba3ca43fa906ab4ad031aa71ab4e488907b7b01 (patch)
tree94d358a045eb6a38bfbd3fab4cd25593f13c36ce /opcodes/cgen-asm.in
parent1a23bcc745f19db723ccb0382ce56d11f6289e91 (diff)
downloadbinutils-redhat-cba3ca43fa906ab4ad031aa71ab4e488907b7b01.tar.gz
2001-03-22 Ben Elliston <bje@redhat.com>
* cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional. * cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused to allay a compiler warning.
Diffstat (limited to 'opcodes/cgen-asm.in')
-rw-r--r--opcodes/cgen-asm.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/cgen-asm.in b/opcodes/cgen-asm.in
index 7249708ebb..aba8e46c2a 100644
--- a/opcodes/cgen-asm.in
+++ b/opcodes/cgen-asm.in
@@ -262,9 +262,9 @@ const CGEN_INSN *
{
static char errbuf[150];
+#ifdef CGEN_VERBOSE_ASSEMBLER_ERRORS
const char *tmp_errmsg;
-#ifdef CGEN_VERBOSE_ASSEMBLER_ERRORS
/* If requesting verbose error messages, use insert_errmsg.
Failing that, use parse_errmsg */
tmp_errmsg = (insert_errmsg ? insert_errmsg :