summaryrefslogtreecommitdiff
path: root/gas/cgen.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-12-17 19:50:31 +0000
committerNick Clifton <nickc@redhat.com>2001-12-17 19:50:31 +0000
commitdd3abb1be0f46e440dd2fe8d6c0c9b77a49f8260 (patch)
treef0d5e05f0e36e5db4435128169dc4c9b42f31537 /gas/cgen.c
parentd8053e113640c2c891115b248240b56fe0c3fce7 (diff)
downloadbinutils-redhat-dd3abb1be0f46e440dd2fe8d6c0c9b77a49f8260.tar.gz
Fix compile time warning messages.
Diffstat (limited to 'gas/cgen.c')
-rw-r--r--gas/cgen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/cgen.c b/gas/cgen.c
index ce2f276da4..75138a4503 100644
--- a/gas/cgen.c
+++ b/gas/cgen.c
@@ -29,6 +29,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "cgen.h"
#include "dwarf2dbg.h"
+static void queue_fixup PARAMS ((int, int, expressionS *));
+
/* Opcode table descriptor, must be set by md_begin. */
CGEN_CPU_DESC gas_cgen_cpu_desc;
@@ -322,7 +324,7 @@ gas_cgen_parse_operand (cd, want, strP, opindex, opinfo, resultP, valueP)
static char *hold;
static enum cgen_parse_operand_result *resultP_1;
#endif
- const char *errmsg = NULL;
+ const char *errmsg;
expressionS exp;
if (want == CGEN_PARSE_OPERAND_INIT)
@@ -348,6 +350,7 @@ gas_cgen_parse_operand (cd, want, strP, opindex, opinfo, resultP, valueP)
expr_jmp_buf_p = 1;
expression (&exp);
expr_jmp_buf_p = 0;
+ errmsg = NULL;
*strP = input_line_pointer;
input_line_pointer = hold;