diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-12-08 14:47:28 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-12-08 14:47:28 -0500 |
| commit | 729c0305423de3bf1199139e3b09e2093b4ada18 (patch) | |
| tree | 54913bc7d536aada33f2d8b76d515e648211d03a | |
| parent | 7c0726a1f59e877c056fa0405bda8d39795b303b (diff) | |
| download | alftools-729c0305423de3bf1199139e3b09e2093b4ada18.tar.gz | |
unalf: get rid of clang "variable set but not used" warning in io.c.
| -rw-r--r-- | src/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) { |
