doc: remove undef NDEBUG from addons.md
When working on commit 0d95a0b60a87533c54b517d132e16401fe28909b ("test: remove undef NDEBUG from at-exit addons test) I searched for usages of undef NDEBUG but did not include the doc directory (but I did include the test directory) and missed this one. Commit 1f02569f8db9cb0101807df4982534738f0161b2 ("tools: fix tools/addon-verify.js") enables the code in the "AtExit" section to be included in the test/addons diretory and this code will again be tested. PR-URL: https://github.com/nodejs/node/pull/14048 Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
parent
7f81400723
commit
06ed0e8187
@ -1073,7 +1073,6 @@ The following `addon.cc` implements AtExit:
|
||||
|
||||
```cpp
|
||||
// addon.cc
|
||||
#undef NDEBUG
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <node.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user