]> git.sur5r.net Git - cc65/commitdiff
Restore src/cc65/locals.c:278 to its orignal state 863/head
authorBas Wassink <b.wassink@ziggo.nl>
Sun, 24 Mar 2019 22:05:11 +0000 (23:05 +0100)
committerBas Wassink <b.wassink@ziggo.nl>
Sun, 24 Mar 2019 22:05:11 +0000 (23:05 +0100)
src/cc65/locals.c

index e2e71e96c02585d62ebe92f7ef5d81e0fcc87f3f..d0aab7f9c639168e52e8dbdad809b62e716418a6 100644 (file)
@@ -275,9 +275,8 @@ static void ParseAutoDecl (Declaration* Decl)
             ** We abuse the Collection somewhat by using it to store line
             ** numbers.
             */
-            CollReplace (&CurrentFunc->LocalsBlockStack,
-                    (void *)(long)GetCurrentLine (),
-                    CollCount (&CurrentFunc->LocalsBlockStack) - 1);
+            CollReplace (&CurrentFunc->LocalsBlockStack, (void *)(long)GetCurrentLine (),
+                CollCount (&CurrentFunc->LocalsBlockStack) - 1);
 
         } else {
             /* Non-initialized local variable. Just keep track of