summaryrefslogtreecommitdiff
path: root/src/node_util.cc
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-03-07 19:59:23 +0100
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-03-11 16:33:43 +0100
commitddcc00bc1e8cc5815c942e1c4713ce92e7a27d40 (patch)
treeee738888e99a01c1208d91082a1e79020a63023f /src/node_util.cc
parente16a2be8d8ec70866d3eed7dddbe7f11b4f20aa7 (diff)
downloadnode-new-ddcc00bc1e8cc5815c942e1c4713ce92e7a27d40.tar.gz
async_hooks: don't set hook_fields[kTotals] to 0
This commit removes the setting of hook_field[kTotals] to szero in AsyncHook's enable function. As far as I can tell this would not be required if the setting of this field is done with the assignment operator instead of using the addition assignment operator. PR-URL: https://github.com/nodejs/node/pull/19219 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_util.cc')
0 files changed, 0 insertions, 0 deletions