From: Eric Biggers Date: Tue, 16 Dec 2014 00:10:39 +0000 (-0600) Subject: ENABLE_MORE_DEBUG no longer exists X-Git-Tag: v1.7.4~25 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=30de026bb982eb3955acb17703b53fe72eb23751 ENABLE_MORE_DEBUG no longer exists --- diff --git a/include/wimlib/error.h b/include/wimlib/error.h index e584c7b9..a6b1a472 100644 --- a/include/wimlib/error.h +++ b/include/wimlib/error.h @@ -44,10 +44,6 @@ extern FILE *wimlib_error_file; # define WARNING_WITH_ERRNO(format, ...) dummy_tprintf(T(format), ## __VA_ARGS__) #endif /* !ENABLE_ERROR_MESSAGES */ -#if defined(ENABLE_MORE_DEBUG) && !defined(ENABLE_DEBUG) -# define ENABLE_DEBUG 1 -#endif - #if defined(ENABLE_MORE_ASSERTIONS) && !defined(ENABLE_ASSERTIONS) # define ENABLE_ASSERTIONS 1 #endif diff --git a/src/error.c b/src/error.c index 8448536d..627d1c27 100644 --- a/src/error.c +++ b/src/error.c @@ -131,7 +131,7 @@ wimlib_warning_with_errno(const tchar *format, ...) #endif -#if defined(ENABLE_DEBUG) || defined(ENABLE_MORE_DEBUG) +#ifdef ENABLE_DEBUG void wimlib_debug(const tchar *filename, int line, const char *func, const tchar *format, ...) {