From e0a769b2a9ed233cc94fb0a2c44e238857461d3e Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 20 Sep 2009 19:00:09 +0200 Subject: [PATCH] jscript: Initialize this_obj with NULL (Coverity). --- dlls/jscript/function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/jscript/function.c b/dlls/jscript/function.c index e2f1b3743b0..1b1b4e70ab0 100644 --- a/dlls/jscript/function.c +++ b/dlls/jscript/function.c @@ -408,7 +408,7 @@ static HRESULT Function_apply(DispatchEx *dispex, LCID lcid, WORD flags, DISPPAR FunctionInstance *function; DISPPARAMS args = {NULL,NULL,0,0}; DWORD argc, i; - IDispatch *this_obj; + IDispatch *this_obj = NULL; HRESULT hres = S_OK; TRACE("\n"); -- 2.11.4.GIT