From b0127bec3b1df0b6cb30710b330d63797794b911 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Tue, 19 Sep 2023 21:02:44 +0200 Subject: [PATCH] [js] unused variable --- src/ecmascript/libdom/mujs/style.c | 1 - src/ecmascript/libdom/quickjs/style.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/ecmascript/libdom/mujs/style.c b/src/ecmascript/libdom/mujs/style.c index 2454eb4e..bd532904 100644 --- a/src/ecmascript/libdom/mujs/style.c +++ b/src/ecmascript/libdom/mujs/style.c @@ -74,7 +74,6 @@ mjs_set_style(js_State *J, const char *property) dom_string *stylestr = NULL; const char *res = NULL; const char *value; - const char *text = NULL; if (!el) { js_pushnull(J); diff --git a/src/ecmascript/libdom/quickjs/style.c b/src/ecmascript/libdom/quickjs/style.c index 18fbd09d..dd8f4edc 100644 --- a/src/ecmascript/libdom/quickjs/style.c +++ b/src/ecmascript/libdom/quickjs/style.c @@ -79,7 +79,6 @@ js_set_style(JSContext *ctx, JSValueConst this_val, JSValue val, const char *pro dom_string *stylestr = NULL; const char *res = NULL; const char *value; - const char *text = NULL; size_t len; if (!el) {