Remove useless branching code in fgets
This commit is contained in:
1 parent
2b97735d5d
commit
afd8ee627e
1 file changed
+1
-3
@@ -90,9 +90,7 @@ read_loop:
|
||||
|
||||
: cmp #$0A ; Stop at \n
|
||||
beq done
|
||||
|
||||
clc
|
||||
bcc read_loop
|
||||
bne read_loop
|
||||
|
||||
got_eof:
|
||||
lda didread
|
||||
|
||||
Reference in new issue
Block a user