From 30de026bb982eb3955acb17703b53fe72eb23751 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 15 Dec 2014 18:10:39 -0600 Subject: [PATCH] ENABLE_MORE_DEBUG no longer exists --- include/wimlib/error.h | 4 ---- src/error.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) 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, ...) { -- 2.43.0