aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-17 04:44:10 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-17 04:44:10 -0500
commitcfec6c2c31abd9f56d4cbb5fe9c3463055226244 (patch)
tree0ed9c3ec3f7d53a4898db9949516cb77d35857f9 /src
parentd7a89fdf9be3e3687af56e4a0e7f79225c1ffd05 (diff)
downloadunalf-cfec6c2c31abd9f56d4cbb5fe9c3463055226244.tar.gz
Get rid of unused goto labels.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
-rw-r--r--src/extract.c10
2 files changed, 1 insertions, 11 deletions
diff --git a/src/Makefile b/src/Makefile
index b5026b6..9113572 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -26,7 +26,7 @@ GZIP_MAN=yes
VERSION=0.1.0
-CFLAGS=-DVERSION='"$(VERSION)"' -Wall -Wno-unused-label -I../f65 $(COPT)
+CFLAGS=-DVERSION='"$(VERSION)"' -Wall -I../f65 $(COPT)
.PHONY: all clean install
diff --git a/src/extract.c b/src/extract.c
index f945ca6..1b9cf72 100644
--- a/src/extract.c
+++ b/src/extract.c
@@ -522,7 +522,6 @@ L77F3:
}
void L7A19(void) {
-L7A19:
lda(alf_hdr_compsize2);
ora(alf_hdr_compsize3);
beq(L7A28);
@@ -560,7 +559,6 @@ L7A57:
}
void L7A5D(void) {
-L7A5D:
lda(alf_hdr_compsize0);
sec();
sbc(buf_len_l);
@@ -575,7 +573,6 @@ L7A5D:
}
void setup_io_bufs(void) {
-setup_io_bufs:
lda(MEMTOP_lo);
sec();
sbc_i(0xDC);
@@ -610,7 +607,6 @@ L79A0:
}
void init_counters(void) {
-init_counters:
lda_i(0x09);
sta(shift_counter);
lda_i(0x00);
@@ -692,7 +688,6 @@ outbuf_not_full:
/* ---------------------------------------------------------------------------- */
/* push 2 byte 'register' to software stack */
void push_acc16(void) {
-push_acc16:
ldy_i(0x00);
lda(acc16_l);
sta_ind_y(stackptr_l);
@@ -730,7 +725,6 @@ L7924:
void pop_acc16(void) {
/* pop 2 byte 'register' from software stack */
-pop_acc16:
lda(stackptr_l);
sec();
sbc_i(0x02);
@@ -768,7 +762,6 @@ L7974:
}
void L79E7(void) {
-L79E7:
lda(buf_adr_l);
clc();
adc(buf_len_l);
@@ -800,7 +793,6 @@ L7A18:
}
void L7899(void) {
-L7899:
lda(zp_b4);
sta(zp_b0);
lda(zp_b5);
@@ -825,7 +817,6 @@ L7899:
}
void L78C2(void) {
-L78C2:
lda(L717B);
sta(zp_b4);
lda(L717C);
@@ -853,7 +844,6 @@ L78F5:
}
void write_output(void) {
-write_output:
lda(outbuf_len_l);
ora(outbuf_len_h);
bne(have_output);