From: cuz Date: Mon, 25 Nov 2002 14:24:48 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~2008 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d8338efc53e3be70bb17ab6c71f0dd95dff3db12;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@1632 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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 {