From 5aa115f08a39cf591014df6d08d3dc7e92c99362 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 9 Jan 2022 17:12:31 +0100 Subject: [PATCH] [string] cast to void Check for NULL is on other fragments. --- src/ecmascript/ecmascript.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ecmascript/ecmascript.c b/src/ecmascript/ecmascript.c index e8a98a0d4..055f26c14 100644 --- a/src/ecmascript/ecmascript.c +++ b/src/ecmascript/ecmascript.c @@ -247,7 +247,7 @@ ecmascript_get_interpreter(struct view_state *vs) return NULL; } - init_string(&interpreter->code); + (void)init_string(&interpreter->code); return interpreter; }