From 681ce9c60c50662f590740f71c2708dd25c2c7de Mon Sep 17 00:00:00 2001 From: Irmen de Jong <irmen@razorvine.net> Date: Wed, 27 Mar 2024 23:05:41 +0100 Subject: [PATCH] fix void warning --- compiler/res/prog8lib/cx16/diskio.p8 | 2 +- compiler/res/prog8lib/diskio.p8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/res/prog8lib/cx16/diskio.p8 b/compiler/res/prog8lib/cx16/diskio.p8 index c18f69ee4..afc782221 100644 --- a/compiler/res/prog8lib/cx16/diskio.p8 +++ b/compiler/res/prog8lib/cx16/diskio.p8 @@ -544,7 +544,7 @@ io_error: list_filename[2] = 0 while cbm.READST()==0 { - cbm.CHRIN() + void cbm.CHRIN() } cbm.CLRCHN() ; restore default i/o devices diff --git a/compiler/res/prog8lib/diskio.p8 b/compiler/res/prog8lib/diskio.p8 index 7ff1a3838..59d1dff3a 100644 --- a/compiler/res/prog8lib/diskio.p8 +++ b/compiler/res/prog8lib/diskio.p8 @@ -479,7 +479,7 @@ io_error: list_filename[2] = 0 while cbm.READST()==0 { - cbm.CHRIN() + void cbm.CHRIN() } cbm.CLRCHN() ; restore default i/o devices