diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-03-07 19:59:23 +0100 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-03-11 16:33:43 +0100 |
commit | ddcc00bc1e8cc5815c942e1c4713ce92e7a27d40 (patch) | |
tree | ee738888e99a01c1208d91082a1e79020a63023f /src/node_util.cc | |
parent | e16a2be8d8ec70866d3eed7dddbe7f11b4f20aa7 (diff) | |
download | node-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