Alexandre Julliard : msxml3: Fix an uninitialized variable.

Alexandre Julliard julliard at winehq.org
Fri Jul 27 13:13:56 CDT 2012


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Jul 27 13:46:10 2012 +0200

msxml3: Fix an uninitialized variable.

---

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

diff --git a/dlls/msxml3/xmlview.c b/dlls/msxml3/xmlview.c
index cd7389a..c2e6f1e 100644
--- a/dlls/msxml3/xmlview.c
+++ b/dlls/msxml3/xmlview.c
@@ -347,11 +347,11 @@ static inline HRESULT report_data(BindStatusCallback *This)
     ULARGE_INTEGER size;
     HRESULT hres;
 
+    off.QuadPart = 0;
     hres = IStream_Seek(This->stream, off, STREAM_SEEK_CUR, &size);
     if(FAILED(hres))
         return hres;
 
-    off.QuadPart = 0;
     hres = IStream_Seek(This->stream, off, STREAM_SEEK_SET, NULL);
     if(FAILED(hres))
         return hres;




More information about the wine-cvs mailing list