1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

fix uninitialized use of 'buflen'

This commit is contained in:
Christian Groessler 2014-02-19 22:38:57 +01:00
parent 96ef7fd773
commit b326a04b1e

View File

@ -48,13 +48,13 @@ _inviocb:
.segment "EXTZP" : zeropage
index: .res 1 ; index into line buffer
buflen: .res 1 ; length of used part of buffer
cbs: .res 1 ; current buffer size: buflen - index
dataptr:.res 2 ; temp pointer to user buffer
copylen:.res 1 ; temp counter
.bss
buflen: .res 1 ; length of used part of buffer
linebuf:.res LINEBUF ; the line buffer
.code