Jacek Caban : mshtml: Make sure to use initialized variables.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Apr 10 06:28:47 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: e189b54687ced0a86e5cdf4651f82997fba2c48d
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e189b54687ced0a86e5cdf4651f82997fba2c48d
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sat Apr 8 20:00:09 2006 +0200
mshtml: Make sure to use initialized variables.
---
dlls/mshtml/htmlinput.c | 2 +-
dlls/mshtml/htmlselect.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c
index 4473f38..03e8529 100644
--- a/dlls/mshtml/htmlinput.c
+++ b/dlls/mshtml/htmlinput.c
@@ -173,7 +173,7 @@ static HRESULT WINAPI HTMLInputElement_g
{
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 088af5d..817802f 100644
--- a/dlls/mshtml/htmlselect.c
+++ b/dlls/mshtml/htmlselect.c
@@ -169,7 +169,7 @@ static HRESULT WINAPI HTMLSelectElement_
{
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_
{
HTMLSelectElement *This = HTMLSELECT_THIS(iface);
nsAString value_str;
- const PRUnichar *value;
+ const PRUnichar *value = NULL;
nsresult nsres;
TRACE("(%p)->(%p)\n", This, p);
More information about the wine-cvs
mailing list