diff --git a/include/quo-vadis.h b/include/quo-vadis.h index 45dfdaf..c4e9d0f 100644 --- a/include/quo-vadis.h +++ b/include/quo-vadis.h @@ -66,9 +66,7 @@ enum { QV_ERR_NOT_FOUND, QV_ERR_SPLIT, /** Resources unavailable. */ - QV_RES_UNAVAILABLE, - /** Sentinel value. */ - QV_RC_LAST + QV_RES_UNAVAILABLE }; /** diff --git a/src/fortran/quo-vadisf.f90 b/src/fortran/quo-vadisf.f90 index 5f8d35d..a541da2 100644 --- a/src/fortran/quo-vadisf.f90 +++ b/src/fortran/quo-vadisf.f90 @@ -31,7 +31,6 @@ module quo_vadisf integer(c_int) QV_ERR_NOT_FOUND integer(c_int) QV_ERR_SPLIT integer(c_int) QV_RES_UNAVAILABLE - integer(c_int) QV_RC_LAST parameter (QV_SUCCESS = 0) parameter (QV_SUCCESS_ALREADY_DONE = 1) @@ -53,7 +52,6 @@ module quo_vadisf parameter (QV_ERR_NOT_FOUND = 18) parameter (QV_ERR_SPLIT = 19) parameter (QV_RES_UNAVAILABLE = 20) - parameter (QV_RC_LAST = 21) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Intrinsic Scopes diff --git a/src/qvi-utils.cc b/src/qvi-utils.cc index c477a7a..bf721d5 100644 --- a/src/qvi-utils.cc +++ b/src/qvi-utils.cc @@ -42,8 +42,7 @@ static const std::map qvi_rc2str = { {QV_ERR_POP, "Pop operation error"}, {QV_ERR_NOT_FOUND, "Not found"}, {QV_ERR_SPLIT, "Split error"}, - {QV_RES_UNAVAILABLE, "Resources unavailable"}, - {QV_RC_LAST, ""} + {QV_RES_UNAVAILABLE, "Resources unavailable"} }; const char *