1
0
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:
Oliver Schmidt 2014-02-19 23:00:31 +01:00
commit 8ff65c99d1

View File

@ -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