[1/3] windowscodecs: Don't check undefined memory in tests on Wine.

Vincent Povirk madewokherd at gmail.com
Thu Nov 13 11:44:55 CST 2014


-------------- next part --------------
From 2a6769ce772f7798881ab5e884d558d37ab67edb Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Wed, 12 Nov 2014 15:52:38 -0600
Subject: [PATCH 1/3] 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);
-- 
2.1.0



More information about the wine-patches mailing list