Module: wine Branch: master Commit: ea3dba9d6997fe1b3aee6e5fd35cc6f6b6ab9bd2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ea3dba9d6997fe1b3aee6e5fd3...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Mon Oct 5 14:13:08 2015 +0200
wbemprox: Silence some noisy FIXMEs.
Signed-off-by: Frédéric Delanoy frederic.delanoy@gmail.com
---
dlls/wbemprox/class.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/wbemprox/class.c b/dlls/wbemprox/class.c index afb9f8c..27229bd 100644 --- a/dlls/wbemprox/class.c +++ b/dlls/wbemprox/class.c @@ -114,13 +114,14 @@ static HRESULT WINAPI enum_class_object_Next( { struct enum_class_object *ec = impl_from_IEnumWbemClassObject( iface ); struct view *view = ec->query->view; + static int once = 0; HRESULT hr;
TRACE("%p, %d, %u, %p, %p\n", iface, lTimeout, uCount, apObjects, puReturned);
if (!uCount) return WBEM_S_FALSE; if (!apObjects || !puReturned) return WBEM_E_INVALID_PARAMETER; - if (lTimeout != WBEM_INFINITE) FIXME("timeout not supported\n"); + if (lTimeout != WBEM_INFINITE && !once++) FIXME("timeout not supported\n");
*puReturned = 0; if (ec->index >= view->count) return WBEM_S_FALSE; @@ -162,10 +163,11 @@ static HRESULT WINAPI enum_class_object_Skip( { struct enum_class_object *ec = impl_from_IEnumWbemClassObject( iface ); struct view *view = ec->query->view; + static int once = 0;
TRACE("%p, %d, %u\n", iface, lTimeout, nCount);
- if (lTimeout != WBEM_INFINITE) FIXME("timeout not supported\n"); + if (lTimeout != WBEM_INFINITE && !once++) FIXME("timeout not supported\n");
if (!view->count) return WBEM_S_FALSE;