windowscodecs: Silence a fixme.

Vincent Povirk madewokherd at gmail.com
Wed Feb 5 15:49:12 CST 2014


This is usually called internally by Wine's gdiplus, in which case it
is harmless.
-------------- next part --------------
From cf6393719d8de45e3ceecba007653d0074a3d184 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Wed, 5 Feb 2014 15:46:47 -0600
Subject: [PATCH] windowscodecs: Silence a fixme.

---
 dlls/windowscodecs/pngformat.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/windowscodecs/pngformat.c b/dlls/windowscodecs/pngformat.c
index 889140d..3e4ae58 100644
--- a/dlls/windowscodecs/pngformat.c
+++ b/dlls/windowscodecs/pngformat.c
@@ -956,7 +956,9 @@ static HRESULT WINAPI PngDecoder_Block_GetContainerFormat(IWICMetadataBlockReade
 static HRESULT WINAPI PngDecoder_Block_GetCount(IWICMetadataBlockReader *iface,
     UINT *pcCount)
 {
-    FIXME("%p,%p: stub\n", iface, pcCount);
+    static int once;
+    TRACE("%p,%p\n", iface, pcCount);
+    if (!once++) FIXME("stub\n");
     return E_NOTIMPL;
 }
 
-- 
1.8.3.2



More information about the wine-patches mailing list