You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should just be able to napi_value foo = nullptr; but nullptr is not a valid value (ie. it is not the same as JavaScript null) so do not pass this nullptr to Node-API functions.
We use node-addon-api code for our Node.js driver (oracledb) for Oracle Database.
We are facing some compiler warnings for uninitialized
napi_value
type variable. Can I initialize a variable of typenapi_value
to NULL?The text was updated successfully, but these errors were encountered: