From: Alistair Leslie-Hughes Subject: [v2 PATCH] dxgi: Silence a noisy fixme Message-Id: Date: Sat, 3 Dec 2016 03:35:06 +0000 Make once static When tracing is enabled, always display a message. Signed-off-by: Alistair Leslie-Hughes --- dlls/dxgi/output.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/dxgi/output.c b/dlls/dxgi/output.c index 0cf8084..737ba29 100644 --- a/dlls/dxgi/output.c +++ b/dlls/dxgi/output.c @@ -268,7 +268,12 @@ static HRESULT STDMETHODCALLTYPE dxgi_output_FindClosestMatchingMode(IDXGIOutput static HRESULT STDMETHODCALLTYPE dxgi_output_WaitForVBlank(IDXGIOutput *iface) { - FIXME("iface %p stub!\n", iface); + static BOOL once = FALSE; + + if (!once++) + FIXME("iface %p stub!\n", iface); + else + TRACE("iface %p stub!\n", iface); return E_NOTIMPL; } -- 2.10.2