]> git.kaiwu.me - njs.git/commitdiff
QuickJS: removed unused variable casts introduced in 75ca26f.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 6 Feb 2025 00:26:40 +0000 (16:26 -0800)
committerDmitry Volyntsev <xeioexception@gmail.com>
Tue, 25 Feb 2025 19:14:56 +0000 (11:14 -0800)
These casts were added to suppress compiler warnings during development
but are no longer needed.

external/qjs_webcrypto_module.c

index 4816031c82af22b9d96495871d72cc5b86bd6725..560b2dd74976935e54a227567458e6ff844878ad 100644 (file)
@@ -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))
     {