Paul Vriens : mshtml/htmltextcont: Initialize value (Coverity).

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 20 07:42:44 CDT 2007


Module: wine
Branch: master
Commit: c8c69304b765cac211bded1fa026eb6378f90fc8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c8c69304b765cac211bded1fa026eb6378f90fc8

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Sat Aug 18 15:32:00 2007 +0200

mshtml/htmltextcont: Initialize value (Coverity).

---

 dlls/mshtml/htmltextcont.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/htmltextcont.c b/dlls/mshtml/htmltextcont.c
index ed079db..e67e668 100644
--- a/dlls/mshtml/htmltextcont.c
+++ b/dlls/mshtml/htmltextcont.c
@@ -102,7 +102,7 @@ static HRESULT WINAPI HTMLTextContainer_get_scrollHeight(IHTMLTextContainer *ifa
 {
     HTMLTextContainer *This = HTMLTEXTCONT_THIS(iface);
     nsIDOMNSHTMLElement *nselem;
-    PRInt32 height;
+    PRInt32 height = 0;
     nsresult nsres;
 
     TRACE("(%p)->(%p)\n", This, p);




More information about the wine-cvs mailing list