From: Shamus Hammons Date: Fri, 10 Jan 2020 15:06:55 +0000 (-0600) Subject: Further fix for bug #135 (added RISC error reporting). X-Git-Tag: v2.1.0~42 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=commitdiff_plain;h=9518721db3412b7b174eb62a7955d7e80322074b Further fix for bug #135 (added RISC error reporting). --- diff --git a/riscasm.c b/riscasm.c index 9ecc61d..3092e6e 100644 --- a/riscasm.c +++ b/riscasm.c @@ -230,7 +230,7 @@ int GenerateRISCCode(int state) uint64_t eval; // Expression value uint16_t eattr; // Expression attributes - SYM * esym; // External symbol involved in expr. + SYM * esym = NULL; // External symbol involved in expr. TOKEN r_expr[EXPRSIZE]; // Expression token list // Get opcode parameter and type