André Hentschel : mshtml: Initialize return value.

Alexandre Julliard julliard at winehq.org
Thu Aug 25 13:00:12 CDT 2011


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Aug 22 20:48:33 2011 +0200

mshtml: Initialize return value.

---

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

diff --git a/dlls/mshtml/htmlanchor.c b/dlls/mshtml/htmlanchor.c
index c369ed5..7422de7 100644
--- a/dlls/mshtml/htmlanchor.c
+++ b/dlls/mshtml/htmlanchor.c
@@ -45,7 +45,7 @@ static HRESULT navigate_anchor(HTMLAnchorElement *This)
 {
     nsAString href_str, target_str;
     nsresult nsres;
-    HRESULT hres;
+    HRESULT hres = E_FAIL;
 
     nsAString_Init(&target_str, NULL);
     nsres = nsIDOMHTMLAnchorElement_GetTarget(This->nsanchor, &target_str);




More information about the wine-cvs mailing list