Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com>
---
Sorry about this. c464c1bd4781ca650a5397ff6a2cfd574c1877f0 made it possibly
used uninitialized when argc was 0 and return value was not used.
dlls/jscript/string.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/jscript/string.c b/dlls/jscript/string.c
index e73b9e8..dac89c9 100644
--- a/dlls/jscript/string.c
+++ b/dlls/jscript/string.c
@@ -1628,7 +1628,7 @@ static HRESULT StringConstr_fromCharCode(script_ctx_t *ctx, jsval_t vthis, WORD
static HRESULT StringConstr_value(script_ctx_t *ctx, jsval_t vthis, WORD flags, unsigned argc, jsval_t *argv,
jsval_t *r)
{
- HRESULT hres;
+ HRESULT hres = S_OK;
TRACE("\n");
--
2.34.1