Remove ELAST from ErrorMessage ELAST isn't an actual error code and causes conflicts.
Fixes LUCY-317. Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/c58b432a Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/c58b432a Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/c58b432a Branch: refs/heads/0.6 Commit: c58b432a665f4b22bcf1955dc7af7acf4361586e Parents: 47654ee Author: Nick Wellnhofer <wellnho...@aevum.de> Authored: Tue Nov 29 10:54:26 2016 +0100 Committer: Nick Wellnhofer <wellnho...@aevum.de> Committed: Fri Dec 2 20:13:12 2016 +0100 ---------------------------------------------------------------------- core/Lucy/Store/ErrorMessage.c | 5 ----- 1 file changed, 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/c58b432a/core/Lucy/Store/ErrorMessage.c ---------------------------------------------------------------------- diff --git a/core/Lucy/Store/ErrorMessage.c b/core/Lucy/Store/ErrorMessage.c index e5d95f6..3c66dbe 100644 --- a/core/Lucy/Store/ErrorMessage.c +++ b/core/Lucy/Store/ErrorMessage.c @@ -785,11 +785,6 @@ ErrMsg_strerror(int my_errno) { msg = "Inappropriate file type or format"; break; #endif -#ifdef ELAST - case ELAST: - msg = "Must be equal largest errno"; - break; -#endif #ifdef ENEEDAUTH case ENEEDAUTH: msg = "Need authenticator";