introduce FIXME_ONCE
Signed-off-by: David Kahurani k.kahurani@gmail.com --- dlls/jscript/global.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/jscript/global.c b/dlls/jscript/global.c index 2665bec..3a75251 100644 --- a/dlls/jscript/global.c +++ b/dlls/jscript/global.c @@ -549,9 +549,7 @@ static HRESULT JSGlobal_ScriptEngineBuildVersion(script_ctx_t *ctx, vdisp_t *jst static HRESULT JSGlobal_CollectGarbage(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsigned argc, jsval_t *argv, jsval_t *r) { - static int once = 0; - if (!once++) - FIXME(": stub\n"); + FIXME_ONCE(": stub\n"); return S_OK; }