From: Christian Groessler Date: Wed, 19 Feb 2014 21:38:57 +0000 (+0100) Subject: fix uninitialized use of 'buflen' X-Git-Tag: V2.15~150^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F84%2Fhead;p=cc65 fix uninitialized use of 'buflen' --- diff --git a/libsrc/atari/read.s b/libsrc/atari/read.s index acb415efd..f8d10fd15 100644 --- a/libsrc/atari/read.s +++ b/libsrc/atari/read.s @@ -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