mshtml: Make sure to use initialized variables.
This commit is contained in:
parent
417c104760
commit
e189b54687
|
@ -173,7 +173,7 @@ static HRESULT WINAPI HTMLInputElement_get_value(IHTMLInputElement *iface, BSTR
|
||||||
{
|
{
|
||||||
HTMLInputElement *This = HTMLINPUT_THIS(iface);
|
HTMLInputElement *This = HTMLINPUT_THIS(iface);
|
||||||
nsAString value_str;
|
nsAString value_str;
|
||||||
const PRUnichar *value;
|
const PRUnichar *value = NULL;
|
||||||
nsresult nsres;
|
nsresult nsres;
|
||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, p);
|
TRACE("(%p)->(%p)\n", This, p);
|
||||||
|
|
|
@ -169,7 +169,7 @@ static HRESULT WINAPI HTMLSelectElement_get_name(IHTMLSelectElement *iface, BSTR
|
||||||
{
|
{
|
||||||
HTMLSelectElement *This = HTMLSELECT_THIS(iface);
|
HTMLSelectElement *This = HTMLSELECT_THIS(iface);
|
||||||
nsAString name_str;
|
nsAString name_str;
|
||||||
const PRUnichar *name;
|
const PRUnichar *name = NULL;
|
||||||
nsresult nsres;
|
nsresult nsres;
|
||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, p);
|
TRACE("(%p)->(%p)\n", This, p);
|
||||||
|
@ -243,7 +243,7 @@ static HRESULT WINAPI HTMLSelectElement_get_value(IHTMLSelectElement *iface, BST
|
||||||
{
|
{
|
||||||
HTMLSelectElement *This = HTMLSELECT_THIS(iface);
|
HTMLSelectElement *This = HTMLSELECT_THIS(iface);
|
||||||
nsAString value_str;
|
nsAString value_str;
|
||||||
const PRUnichar *value;
|
const PRUnichar *value = NULL;
|
||||||
nsresult nsres;
|
nsresult nsres;
|
||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, p);
|
TRACE("(%p)->(%p)\n", This, p);
|
||||||
|
|
Loading…
Reference in New Issue