]> git.sur5r.net Git - cc65/commitdiff
Fix an error in ReleaseLiteral.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 25 Jan 2013 20:39:43 +0000 (20:39 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 25 Jan 2013 20:39:43 +0000 (20:39 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5967 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/litpool.c

index 3d3aee745f3cfb458d755c3ede9b3a8b92020eda..cf826132037224d32272304cf581077a0382256c 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2009, Ullrich von Bassewitz                                      */
+/* (C) 1998-2013, Ullrich von Bassewitz                                      */
 /*                Roemerstrasse 52                                           */
 /*                D-70794 Filderstadt                                        */
 /* EMail:         uz@cc65.org                                                */
@@ -169,7 +169,7 @@ void ReleaseLiteral (Literal* L)
 /* Decrement the reference counter for the literal */
 {
     --L->RefCount;
-    CHECK (L->RefCount >= 0 && (L->RefCount > 0 || !L->Output));
+    CHECK (L->RefCount >= 0);
 }