Skip to content

Commit b5904a2

Browse files
danbevMylesBorins
authored andcommitted
doc: remove undef NDEBUG from addons.md
When working on commit 0d95a0b ("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: #14048 Reviewed-By: Michaël Zasso <[email protected]>
1 parent c0e47e4 commit b5904a2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/api/addons.md

-1
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,6 @@ The following `addon.cc` implements AtExit:
10531053

10541054
```cpp
10551055
// addon.cc
1056-
#undef NDEBUG
10571056
#include <assert.h>
10581057
#include <stdlib.h>
10591058
#include <node.h>

0 commit comments

Comments
 (0)