]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 25 Nov 2002 14:24:48 +0000 (14:24 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 25 Nov 2002 14:24:48 +0000 (14:24 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1632 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/coptind.c

index f72d778889d59efce9e9edd8da4aa2b52043cfeb..5adae0a29e4b24a106c5de9064aa9abeeaf1a1bc 100644 (file)
@@ -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 {