This is an automated email from the ASF dual-hosted git repository. rjung pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/main by this push: new e5e604f9c Remove unused array (compiler warning) e5e604f9c is described below commit e5e604f9c29d25fc948545afd31258f1e4f2ff6c Author: Rainer Jung <rainer.j...@kippdata.de> AuthorDate: Sat Jul 9 21:15:06 2022 +0200 Remove unused array (compiler warning) --- native/src/error.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/native/src/error.c b/native/src/error.c index a0a2b1fbf..7a7eecc77 100644 --- a/native/src/error.c +++ b/native/src/error.c @@ -16,16 +16,6 @@ #include "tcn.h" -static const char *tcn_errors[] = { - "Unknown user error", - /* TCN_TIMEUP */ "Operation timed out", - /* TCN_EAGAIN */ "There is no data ready", - /* TCN_EINTR */ "Interrupted system call", - /* TCN_EINPROGRESS */ "Operation in progress", - /* TCN_ETIMEDOUT */ "Connection timed out", - NULL -}; - /* Merge IS_ETIMEDOUT with APR_TIMEUP */ #define TCN_STATUS_IS_ETIMEDOUT(x) (APR_STATUS_IS_ETIMEDOUT((x)) || ((x) == APR_TIMEUP)) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org