mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
Merge pull request #84 from groessler/something_to_pull
Atari: read.s: fix uninitialized use of 'buflen'
This commit is contained in:
commit
8ff65c99d1
@ -48,13 +48,13 @@ _inviocb:
|
|||||||
.segment "EXTZP" : zeropage
|
.segment "EXTZP" : zeropage
|
||||||
|
|
||||||
index: .res 1 ; index into line buffer
|
index: .res 1 ; index into line buffer
|
||||||
buflen: .res 1 ; length of used part of buffer
|
|
||||||
cbs: .res 1 ; current buffer size: buflen - index
|
cbs: .res 1 ; current buffer size: buflen - index
|
||||||
dataptr:.res 2 ; temp pointer to user buffer
|
dataptr:.res 2 ; temp pointer to user buffer
|
||||||
copylen:.res 1 ; temp counter
|
copylen:.res 1 ; temp counter
|
||||||
|
|
||||||
.bss
|
.bss
|
||||||
|
|
||||||
|
buflen: .res 1 ; length of used part of buffer
|
||||||
linebuf:.res LINEBUF ; the line buffer
|
linebuf:.res LINEBUF ; the line buffer
|
||||||
|
|
||||||
.code
|
.code
|
||||||
|
Loading…
Reference in New Issue
Block a user