diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c index 4473f386c8b..03e8529118a 100644 --- a/dlls/mshtml/htmlinput.c +++ b/dlls/mshtml/htmlinput.c @@ -173,7 +173,7 @@ static HRESULT WINAPI HTMLInputElement_get_value(IHTMLInputElement *iface, BSTR { HTMLInputElement *This = HTMLINPUT_THIS(iface); nsAString value_str; - const PRUnichar *value; + const PRUnichar *value = NULL; nsresult nsres; TRACE("(%p)->(%p)\n", This, p); diff --git a/dlls/mshtml/htmlselect.c b/dlls/mshtml/htmlselect.c index 088af5d81dc..817802f2f7f 100644 --- a/dlls/mshtml/htmlselect.c +++ b/dlls/mshtml/htmlselect.c @@ -169,7 +169,7 @@ static HRESULT WINAPI HTMLSelectElement_get_name(IHTMLSelectElement *iface, BSTR { HTMLSelectElement *This = HTMLSELECT_THIS(iface); nsAString name_str; - const PRUnichar *name; + const PRUnichar *name = NULL; nsresult nsres; TRACE("(%p)->(%p)\n", This, p); @@ -243,7 +243,7 @@ static HRESULT WINAPI HTMLSelectElement_get_value(IHTMLSelectElement *iface, BST { HTMLSelectElement *This = HTMLSELECT_THIS(iface); nsAString value_str; - const PRUnichar *value; + const PRUnichar *value = NULL; nsresult nsres; TRACE("(%p)->(%p)\n", This, p);