From b326a04b1e7b5967a4968332b4c061baab8ac3ba Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Wed, 19 Feb 2014 22:38:57 +0100 Subject: [PATCH] fix uninitialized use of 'buflen' --- libsrc/atari/read.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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