diff --git a/include/unicorn/unicorn.h b/include/unicorn/unicorn.h index d7ac2a33..714feaae 100644 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -108,7 +108,6 @@ typedef enum uc_err { UC_ERR_OOM, // Out-Of-Memory error: uc_open(), uc_emulate() UC_ERR_ARCH, // Unsupported architecture: uc_open() UC_ERR_HANDLE, // Invalid handle - UC_ERR_UCH, // Invalid handle (uch) UC_ERR_MODE, // Invalid/unsupported mode: uc_open() UC_ERR_VERSION, // Unsupported version (bindings) UC_ERR_MEM_READ, // Quit emulation due to invalid memory READ: uc_emu_start() diff --git a/uc.c b/uc.c index 7bb690c7..3db2778f 100644 --- a/uc.c +++ b/uc.c @@ -69,8 +69,6 @@ const char *uc_strerror(uc_err code) return "Invalid/unsupported architecture(UC_ERR_ARCH)"; case UC_ERR_HANDLE: return "Invalid handle (UC_ERR_HANDLE)"; - case UC_ERR_UCH: - return "Invalid uch (UC_ERR_UCH)"; case UC_ERR_MODE: return "Invalid mode (UC_ERR_MODE)"; case UC_ERR_VERSION: