diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-10-04 11:06:24 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-10-04 11:05:27 +0200 |
commit | faa3d4f1d8ecff444be53215d72e32d71d9ce138 (patch) | |
tree | edc67a198d0a617af7126cfc1ac022189a965b21 /src/compat | |
parent | 97f756b12c8d8a9d3b621f296725dd7bf36bc8a9 (diff) |
Remove duplicate NDEBUG check from compat/assumptions.h
The check is already done in util/check.h, which is more widely
included.
Diffstat (limited to 'src/compat')
-rw-r--r-- | src/compat/assumptions.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/compat/assumptions.h b/src/compat/assumptions.h index 4488db0886..78bf3c743f 100644 --- a/src/compat/assumptions.h +++ b/src/compat/assumptions.h @@ -11,13 +11,6 @@ #include <cstddef> #include <limits> -// Assumption: We assume that the macro NDEBUG is not defined. -// Example(s): We use assert(...) extensively with the assumption of it never -// being a noop at runtime. -#if defined(NDEBUG) -# error "Bitcoin cannot be compiled without assertions." -#endif - // Assumption: We assume a C++17 (ISO/IEC 14882:2017) compiler (minimum requirement). // Example(s): We assume the presence of C++17 features everywhere :-) // ISO Standard C++17 [cpp.predefined]p1: |