From bbee6e0814d5875b85b81f26fd4ca7a28b6f9570 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 31 May 2020 20:58:28 +0000 Subject: Vendor import svn-1.14.0. --- subversion/libsvn_subr/error.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'subversion/libsvn_subr/error.c') diff --git a/subversion/libsvn_subr/error.c b/subversion/libsvn_subr/error.c index 1b2e7357e1fae..4c914f8f10474 100644 --- a/subversion/libsvn_subr/error.c +++ b/subversion/libsvn_subr/error.c @@ -146,6 +146,7 @@ svn_error__locate(const char *file, long line) /* Cleanup function for errors. svn_error_clear () removes this so errors that are properly handled *don't* hit this code. */ +#ifdef SVN_DEBUG static apr_status_t err_abort(void *data) { svn_error_t *err = data; /* For easy viewing in a debugger */ @@ -155,6 +156,7 @@ static apr_status_t err_abort(void *data) abort(); return APR_SUCCESS; } +#endif static svn_error_t * -- cgit v1.2.3