ENABLE_MORE_DEBUG no longer exists
authorEric Biggers <ebiggers3@gmail.com>
Tue, 16 Dec 2014 00:10:39 +0000 (18:10 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 16 Dec 2014 00:10:54 +0000 (18:10 -0600)
include/wimlib/error.h
src/error.c

index e584c7b9cd23e885e96d71289fe66c535898e9e6..a6b1a472b34b928edee0391aee2ce9bb9acb6aa4 100644 (file)
@@ -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
index 8448536d42e6f5e6641c2d615ebfb03daac65e6c..627d1c2776ecabec10e49796ac42e91277a197ae 100644 (file)
@@ -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, ...)
 {