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/a8f7e9c6 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/a8f7e9c6 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/a8f7e9c6 Branch: refs/heads/master Commit: a8f7e9c6076652c31013d2d2523bcd236c4a9526 Parents: 6513de0 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:15:22 2016 +0100 ---------------------------------------------------------------------- core/Lucy/Store/ErrorMessage.c | 5 ----- 1 file changed, 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/a8f7e9c6/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";