From 6ee6c7512bdbc836642dfdd607854faced55dfc3 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 8 Jul 2026 09:31:14 +0200 Subject: Remove unused labels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since commit 6a9dea943c07 ("Add a new 'check' stage in assemble()"), nasm is now able to detect unused labels. This was then tried on this repository the cleanup labels which were never used. Signed-off-by: Miquel Sabaté Solà --- src/driver.s | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/driver.s') diff --git a/src/driver.s b/src/driver.s index 4e54e8c..cf0fc43 100644 --- a/src/driver.s +++ b/src/driver.s @@ -8,7 +8,7 @@ ;; never conflict with each other. zp_player_timer = $30 ; asan:ignore PLAYER_TIMER_FULL_VALUE = HZ * 3 - PLAYER_TIMER_DEV_VALUE = HZ / 4 + PLAYER_TIMER_DEV_VALUE = HZ / 4 ; asan:ignore .ifdef PARTIAL PLAYER_TIMER_VALUE = PLAYER_TIMER_DEV_VALUE .else @@ -498,7 +498,6 @@ cpx zp_first_bullet beq @next_bullet - @do_bullet: ;; Ok, so the bullet has not been allocated yet and we have space for ;; it. Is it valid? lda Bullets::zp_pool_base, x @@ -554,7 +553,6 @@ cpx zp_first_enemy beq @next_enemy - @do_enemy: ;; Ok, so the enemy has not been allocated yet and we have space for ;; it. Is it valid? lda Enemies::zp_pool_base, x @@ -582,7 +580,6 @@ cpx #Explosions::EXPLOSIONS_POOL_CAPACITY_BYTES beq @after_explosions - @do_explosion: ;; Is it valid? lda Explosions::zp_pool_base, x and #$80 -- cgit v1.2.3