Unverified Commit 46f20269 authored by Michael Dawson's avatar Michael Dawson Committed by Anna Henningsen
Browse files

n-api: fix coverity scan report

Coverity was reporting _request.work_req as not being initialized.
Add memset to ensure all of _request is initialized.

PR-URL: https://github.com/nodejs/node/pull/12365


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent ad5f9875
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment