From 0cbc81161c531d798b2693a896b2cc39caedd708 Mon Sep 17 00:00:00 2001 From: uz Date: Sat, 27 Oct 2012 15:47:49 +0000 Subject: [PATCH] Fixed a problem with the last change: Sym wasn't always NULL when it should have been. git-svn-id: svn://svn.cc65.org/cc65/trunk@5881 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/symtab.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ca65/symtab.c b/src/ca65/symtab.c index eaaab444e..116e7a0c3 100644 --- a/src/ca65/symtab.c +++ b/src/ca65/symtab.c @@ -443,6 +443,8 @@ SymEntry* SymFindAny (SymTable* Scope, const StrBuf* Name) /* Found, return it */ break; } + } else { + Sym = 0; } /* Not found, search in the parent scope, if we have one */ -- 2.39.5