Vincent Povirk : windowscodecs: Don' t check undefined memory in tests on Wine.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Nov 14 03:22:44 CST 2014


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Wed Nov 12 15:52:38 2014 -0600

windowscodecs: Don't check undefined memory in tests on Wine.

---

 dlls/windowscodecs/tests/metadata.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/windowscodecs/tests/metadata.c b/dlls/windowscodecs/tests/metadata.c
index e42b474..e9ab77c 100644
--- a/dlls/windowscodecs/tests/metadata.c
+++ b/dlls/windowscodecs/tests/metadata.c
@@ -907,7 +907,7 @@ static void test_metadata_png(void)
     IWICMetadataReader *reader;
     GUID containerformat;
     HRESULT hr;
-    UINT count;
+    UINT count=0xdeadbeef;
 
     hr = CoCreateInstance(&CLSID_WICPngDecoder, NULL, CLSCTX_INPROC_SERVER,
         &IID_IWICBitmapDecoder, (void**)&decoder);




More information about the wine-cvs mailing list