aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io.c b/src/io.c
index cc50b8b..2b76ab1 100644
--- a/src/io.c
+++ b/src/io.c
@@ -143,7 +143,7 @@ int read_alf_header(void) {
/* read buf_len_l/h bytes into buf_adr_l/h, then store the number
of bytes actually read in buf_len_l/h. TODO: what about EOF? */
void readblock(void) {
- static int bytes_read = 0;
+ // static int bytes_read = 0;
int bytes, len, bufadr;
u8 *buf;
@@ -152,7 +152,7 @@ void readblock(void) {
len = dpeek(buf_len_l);
bytes = fread(buf, 1, len, in_file);
- bytes_read += bytes;
+ // bytes_read += bytes;
/* mimic CIO's behaviour */
if(feof(in_file)) {