From d8338efc53e3be70bb17ab6c71f0dd95dff3db12 Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 25 Nov 2002 14:24:48 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@1632 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/coptind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc65/coptind.c b/src/cc65/coptind.c index f72d77888..5adae0a29 100644 --- a/src/cc65/coptind.c +++ b/src/cc65/coptind.c @@ -105,7 +105,7 @@ static short RegVal (unsigned short Use, const RegContents* RC) } else if ((Use & REG_SREG_HI) != 0) { return RC->SRegHi; } else { - return REG_NONE; + return UNKNOWN_REGVAL; } } @@ -961,7 +961,7 @@ unsigned OptDupLoads (CodeSeg* S) CS_DelEntry (S, I); /* Remember, we had changes */ - ++Changes; + ++Changes; } else { -- 2.39.5