From 9518721db3412b7b174eb62a7955d7e80322074b Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Fri, 10 Jan 2020 09:06:55 -0600 Subject: [PATCH] Further fix for bug #135 (added RISC error reporting). --- riscasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.37.2