=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: wbemprox: Silence some noisy FIXMEs.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Oct 6 09:44:00 CDT 2015
Module: wine
Branch: master
Commit: ea3dba9d6997fe1b3aee6e5fd35cc6f6b6ab9bd2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ea3dba9d6997fe1b3aee6e5fd35cc6f6b6ab9bd2
Author: Frédéric Delanoy <frederic.delanoy at 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 at 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;
More information about the wine-cvs
mailing list