Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@2941 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-03-19 10:38:09 +00:00
parent 1b81dcc64f
commit 60bf40f6db

View File

@@ -6,7 +6,7 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 2001-2003 Ullrich von Bassewitz */ /* (C) 2001-2004 Ullrich von Bassewitz */
/* R<>merstra<72>e 52 */ /* R<>merstra<72>e 52 */
/* D-70794 Filderstadt */ /* D-70794 Filderstadt */
/* EMail: uz@cc65.org */ /* EMail: uz@cc65.org */
@@ -749,8 +749,9 @@ unsigned OptUnusedLoads (CodeSeg* S)
/* Register value is not used, remove the load */ /* Register value is not used, remove the load */
CS_DelEntry (S, I); CS_DelEntry (S, I);
/* Remember, we had changes */ /* Remember, we had changes. Account the deleted entry in I. */
++Changes; ++Changes;
--I;
} }
} }