summaryrefslogtreecommitdiff
path: root/lib/zstd/common/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zstd/common/debug.h')
-rw-r--r--lib/zstd/common/debug.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/zstd/common/debug.h b/lib/zstd/common/debug.h
index 7f43dd3c063..ad6e60d609e 100644
--- a/lib/zstd/common/debug.h
+++ b/lib/zstd/common/debug.h
@@ -12,7 +12,6 @@
* You may select, at your option, one of the above-listed licenses.
****************************************************************** */
-
/*
* The purpose of this header is to enable debug functions.
* They regroup assert(), DEBUGLOG() and RAWLOG() for run-time,
@@ -32,14 +31,11 @@
#ifndef DEBUG_H_12987983217
#define DEBUG_H_12987983217
-
-
/* static assert is triggered at compile time, leaving no runtime artefact.
* static assert only works with compile-time constants.
* Also, this variant can only be used inside a function. */
#define DEBUG_STATIC_ASSERT(c) (void)sizeof(char[(c) ? 1 : -1])
-
/* DEBUGLEVEL is expected to be defined externally,
* typically through compiler command line.
* Value must be a number. */
@@ -47,7 +43,6 @@
# define DEBUGLEVEL 0
#endif
-
/* recommended values for DEBUGLEVEL :
* 0 : release mode, no debug, all run-time checks disabled
* 1 : enables assert() only, no display
@@ -87,6 +82,4 @@ extern int g_debuglevel; /* the variable is only declared,
# define DEBUGLOG(l, ...) {} /* disabled */
#endif
-
-
#endif /* DEBUG_H_12987983217 */