diff options
author | Nick Clifton <nickc@redhat.com> | 2001-12-17 19:50:31 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-12-17 19:50:31 +0000 |
commit | 0609eb57331caac718ea7cc15b3f041f63698435 (patch) | |
tree | 69da9d9e9997158f05a135c6d70d513c80cc548f /gas/cgen.c | |
parent | c9f63e6b7f8ba215d45916aa96ec9d5ef06d2c66 (diff) | |
download | gdb-0609eb57331caac718ea7cc15b3f041f63698435.zip gdb-0609eb57331caac718ea7cc15b3f041f63698435.tar.gz gdb-0609eb57331caac718ea7cc15b3f041f63698435.tar.bz2 |
Fix compile time warning messages.
Diffstat (limited to 'gas/cgen.c')
-rw-r--r-- | gas/cgen.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |