diff --git a/include/cantera/clib/ct.h b/include/cantera/clib/ct.h index 81f7f92d6..f780e61b0 100644 --- a/include/cantera/clib/ct.h +++ b/include/cantera/clib/ct.h @@ -153,7 +153,6 @@ extern "C" { const double* state2, double delta, double* fluxes); CANTERA_CAPI int getCanteraError(int buflen, char* buf); - CANTERA_CAPI int showCanteraErrors(); CANTERA_CAPI int setLogWriter(void* logger); CANTERA_CAPI int addCanteraDirectory(size_t buflen, const char* buf); CANTERA_CAPI int ct_getDataDirectories(int buflen, char* buf, const char* sep); diff --git a/src/clib/ct.cpp b/src/clib/ct.cpp index 0f888cd7d..8affdc6ff 100644 --- a/src/clib/ct.cpp +++ b/src/clib/ct.cpp @@ -1400,16 +1400,6 @@ extern "C" { } } - int showCanteraErrors() - { - try { - showErrors(); - return 0; - } catch (...) { - return handleAllExceptions(-1, ERR); - } - } - int addCanteraDirectory(size_t buflen, const char* buf) { try {