From d77f24cdda4363caf267158c75834102b44bf900 Mon Sep 17 00:00:00 2001 From: Lailouezzz Date: Wed, 1 Jan 2020 23:56:30 +0100 Subject: [PATCH] Delete unused error --- include/libcasio/error.h | 3 +-- lib/errors.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/libcasio/error.h b/include/libcasio/error.h index 289dbf3..f100da7 100644 --- a/include/libcasio/error.h +++ b/include/libcasio/error.h @@ -63,8 +63,7 @@ typedef int casio_error_t; # define casio_error_timeout 0x14 /* a timeout has occured. */ # define casio_error_access 0x15 /* could not access the device (perms) */ # define casio_error_noaccess 0x15 /* (alias) */ -# define casio_error_eof 0x16 /* end of file error */ -# define casio_error_ieof 0x17 /* info end of file error */ +# define casio_error_eof 0x16 /* end of file */ /* Link errors. */ diff --git a/lib/errors.c b/lib/errors.c index c58a0da..928f696 100644 --- a/lib/errors.c +++ b/lib/errors.c @@ -39,8 +39,7 @@ const char* CASIO_EXPORT casio_error_strings[128] = { "a timeout has occurred", "could not get access to the device", "an end of file event has occured", - "an end of file event has occured but was manage", - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,