details: https://github.com/nginx/njs/commit/d145e033cb6b402d0198562831cccfa9050e53bb branches: master commit: d145e033cb6b402d0198562831cccfa9050e53bb user: Dmitry Volyntsev <xei...@nginx.com> date: Wed, 5 Feb 2025 16:26:40 -0800 description: QuickJS: removed unused variable casts introduced in 75ca26f.
These casts were added to suppress compiler warnings during development but are no longer needed. --- external/qjs_webcrypto_module.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/external/qjs_webcrypto_module.c b/external/qjs_webcrypto_module.c index 4816031c..560b2dd7 100644 --- a/external/qjs_webcrypto_module.c +++ b/external/qjs_webcrypto_module.c @@ -4827,9 +4827,6 @@ qjs_webcrypto_init(JSContext *cx, const char *name) JSValue crypto, proto, global_obj; JSModuleDef *m; - (void) qjs_webcrypto_alg_name; - (void) qjs_algorithm_hash_name; - if (!JS_IsRegisteredClass(JS_GetRuntime(cx), QJS_CORE_CLASS_ID_WEBCRYPTO_KEY)) { _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel