Skip to content

Commit

Permalink
doc: remove undef NDEBUG from addons.md
Browse files Browse the repository at this point in the history
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 <targos@protonmail.com>
  • Loading branch information
danbev authored and addaleax committed Aug 10, 2017
1 parent a0e05e8 commit e07dfff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/api/addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,6 @@ The following `addon.cc` implements AtExit:

```cpp
// addon.cc
#undef NDEBUG
#include <assert.h>
#include <stdlib.h>
#include <node.h>
Expand Down

0 comments on commit e07dfff

Please sign in to comment.