[PATCH v2 17/21] dlls/wbemprox: Use FIXME_ONCE
David Kahurani
k.kahurani at gmail.com
Mon Oct 18 07:58:16 CDT 2021
introduce FIXME_ONCE
Signed-off-by: David Kahurani <k.kahurani at gmail.com>
---
dlls/wbemprox/class.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/wbemprox/class.c b/dlls/wbemprox/class.c
index cabf1c9..20e9e68 100644
--- a/dlls/wbemprox/class.c
+++ b/dlls/wbemprox/class.c
@@ -115,14 +115,13 @@ static HRESULT WINAPI enum_class_object_Next(
struct enum_class_object *ec = impl_from_IEnumWbemClassObject( iface );
struct view *view = ec->query->view;
struct table *table;
- static int once = 0;
HRESULT hr;
ULONG i, j;
TRACE("%p, %d, %u, %p, %p\n", iface, lTimeout, uCount, apObjects, puReturned);
if (!apObjects || !puReturned) return WBEM_E_INVALID_PARAMETER;
- if (lTimeout != WBEM_INFINITE && !once++) FIXME("timeout not supported\n");
+ if (lTimeout != WBEM_INFINITE) FIXME_ONCE("timeout not supported\n");
*puReturned = 0;
@@ -170,11 +169,10 @@ 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 && !once++) FIXME("timeout not supported\n");
+ if (lTimeout != WBEM_INFINITE) FIXME_ONCE("timeout not supported\n");
if (!view->result_count) return WBEM_S_FALSE;
--
2.33.0
More information about the wine-devel
mailing list