diff --git a/src/node_api.h b/src/node_api.h index 2512cd0c5a4e3b..3fdbd5e31c50d6 100644 --- a/src/node_api.h +++ b/src/node_api.h @@ -201,9 +201,7 @@ typedef struct napi_module { #else #define NAPI_MODULE(modname, regfunc) \ - NAPI_MODULE_INIT() { \ - return regfunc(env, exports); \ - } + NAPI_MODULE_INIT() { return regfunc(env, exports); } #endif // __wasm32__